Свойство | Type | Description | |
---|---|---|---|
$em | Doctrine\Common\Persistence\ObjectManager | ||
$tokenStorage | Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage |
Méthode | Description | |
---|---|---|
__construct ( Doctrine\Common\Persistence\ObjectManager $em ) | ||
onCoreController ( |
On each request we want to update the user's last activity datetime | |
setTokenStorage ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage $tokenStorage ) |
public __construct ( Doctrine\Common\Persistence\ObjectManager $em ) | ||
$em | Doctrine\Common\Persistence\ObjectManager |
public onCoreController ( |
||
$event | ||
Résultat | void |
public setTokenStorage ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage $tokenStorage ) | ||
$tokenStorage | Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage |
protected ObjectManager,Doctrine\Common\Persistence $em | ||
Résultat | Doctrine\Common\Persistence\ObjectManager |