PHP 클래스 Sulu\Component\Hash\Serializer\Subscriber\HashSerializeEventSubscriber

상속: implements JMS\Serializer\EventDispatcher\EventSubscriberInterface
파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
__construct ( Sulu\Component\Hash\HasherInterface $hasher )
getSubscribedEvents ( )
onPostSerialize ( JMS\Serializer\EventDispatcher\ObjectEvent $event ) Adds the hash of the given object to its serialization.

메소드 상세

__construct() 공개 메소드

public __construct ( Sulu\Component\Hash\HasherInterface $hasher )
$hasher Sulu\Component\Hash\HasherInterface

getSubscribedEvents() 공개 정적인 메소드

public static getSubscribedEvents ( )

onPostSerialize() 공개 메소드

Adds the hash of the given object to its serialization.
public onPostSerialize ( JMS\Serializer\EventDispatcher\ObjectEvent $event )
$event JMS\Serializer\EventDispatcher\ObjectEvent