GetLastUsersExtension
class GetLastUsersExtension extends Twig_Extension
Class GetLastUsersExtension is injected as twig.extension.alligator.last_users service. GetLastUsersExtension handles the logic and provides necessary data for managed entity in twig.
Properties
| protected UserManager | $userManager |
Methods
getFunctions()
{@inheritdoc}
array
getLastUsers(int $number)
No description
User|null
getLoggedUser()
No description
User|null
getLoggedUserAddress(int $userId)
No description
string
getName()
Returns the name of the extension.
Details
at line 29
__construct(UserManager $userManager)
at line 37
getFunctions()
{@inheritdoc}
at line 52
array
getLastUsers(int $number)
at line 60
User|null
getLoggedUser()
at line 77
User|null
getLoggedUserAddress(int $userId)
at line 92
string
getName()
Returns the name of the extension.