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

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 type of redirect and the redirect location to the serialization.

Method Details

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

onPostSerialize() public method

Adds the type of redirect and the redirect location to the serialization.
public onPostSerialize ( JMS\Serializer\EventDispatcher\ObjectEvent $event )
$event JMS\Serializer\EventDispatcher\ObjectEvent