PHP Class Sulu\Component\Security\Serializer\Subscriber\SecuredEntitySubscriber

Inheritance: implements JMS\Serializer\EventDispatcher\EventSubscriberInterface
Datei anzeigen Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( Sulu\Component\Security\Authorization\AccessControl\AccessControlManagerInterface $accessControlManagerInterface, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage )
getSubscribedEvents ( )
onPostSerialize ( JMS\Serializer\EventDispatcher\ObjectEvent $event )

Method Details

__construct() public method

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 method

public static getSubscribedEvents ( )

onPostSerialize() public method

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