PHP Класс Sulu\Component\Security\Serializer\Subscriber\SecuredEntitySubscriber

Наследование: implements JMS\Serializer\EventDispatcher\EventSubscriberInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Sulu\Component\Security\Authorization\AccessControl\AccessControlManagerInterface $accessControlManagerInterface, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage )
getSubscribedEvents ( )
onPostSerialize ( JMS\Serializer\EventDispatcher\ObjectEvent $event )

Описание методов

__construct() публичный Метод

public __construct ( Sulu\Component\Security\Authorization\AccessControl\AccessControlManagerInterface $accessControlManagerInterface, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage )
$accessControlManagerInterface Sulu\Component\Security\Authorization\AccessControl\AccessControlManagerInterface
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface

getSubscribedEvents() публичный статический Метод

public static getSubscribedEvents ( )

onPostSerialize() публичный Метод

public onPostSerialize ( JMS\Serializer\EventDispatcher\ObjectEvent $event )
$event JMS\Serializer\EventDispatcher\ObjectEvent