class AlligatorAdminNotificationExtension extends Twig_Extension

Class AlligatorAdminNotificationExtension

Properties

protected CommentManager $commentManager

Methods

__construct(CommentManager $commentManager)

No description

getFunctions()

{@inheritdoc}

mixed
getAdminNotifications(Twig_Environment $twigEnvironment)

Find last 5 comments and render page

string
getName()

Returns the name of the extension.

Details

at line 34
__construct(CommentManager $commentManager)

Parameters

CommentManager $commentManager

at line 42
getFunctions()

{@inheritdoc}

at line 55
mixed getAdminNotifications(Twig_Environment $twigEnvironment)

Find last 5 comments and render page

Parameters

Twig_Environment $twigEnvironment

Return Value

mixed

at line 74
string getName()

Returns the name of the extension.

Return Value

string The extension name