Méthode | Description | |
---|---|---|
__construct ( Sulu\Component\Security\Authorization\AccessControl\AccessControlManagerInterface $accessControlManager, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage = null ) | ||
getSubscribedEvents ( ) | ||
onPostSerialize ( JMS\Serializer\EventDispatcher\ObjectEvent $event ) | Adds the permissions for the current user to the serialization. |
public __construct ( Sulu\Component\Security\Authorization\AccessControl\AccessControlManagerInterface $accessControlManager, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage = null ) | ||
$accessControlManager | Sulu\Component\Security\Authorization\AccessControl\AccessControlManagerInterface | |
$tokenStorage | Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface |
public onPostSerialize ( JMS\Serializer\EventDispatcher\ObjectEvent $event ) | ||
$event | JMS\Serializer\EventDispatcher\ObjectEvent |