Method | Description | |
---|---|---|
__construct ( |
||
getSubscribedEvents ( ) | ||
onPostSerialize ( JMS\Serializer\EventDispatcher\ObjectEvent $event ) | Adds all the structure specific data (template, structure properties and breadcrumb) to the serialization. | |
onPreSerialize ( JMS\Serializer\EventDispatcher\PreSerializeEvent $event ) |
Method | Description | |
---|---|---|
addBreadcrumb ( Sulu\Component\Content\Document\Behavior\StructureBehavior $document, JMS\Serializer\VisitorInterface $visitor ) | Adds the breadcrumb to the serialization. | |
addStructureProperties ( |
Adds the properties of the structure to the serialization. |
public __construct ( |
||
$inspector |
public onPostSerialize ( JMS\Serializer\EventDispatcher\ObjectEvent $event ) | ||
$event | JMS\Serializer\EventDispatcher\ObjectEvent |
public onPreSerialize ( JMS\Serializer\EventDispatcher\PreSerializeEvent $event ) | ||
$event | JMS\Serializer\EventDispatcher\PreSerializeEvent |