PHP Class Sulu\Bundle\ContentBundle\Serializer\Subscriber\WorkflowStageSubscriber

Inheritance: implements JMS\Serializer\EventDispatcher\EventSubscriberInterface
Show file Open project: sulu/sulu

Public Methods

Method Description
getSubscribedEvents ( )
onPostSerialize ( JMS\Serializer\EventDispatcher\ObjectEvent $event ) Adds the published state to the serialization.

Method Details

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

onPostSerialize() public method

Adds the published state to the serialization.
public onPostSerialize ( JMS\Serializer\EventDispatcher\ObjectEvent $event )
$event JMS\Serializer\EventDispatcher\ObjectEvent