PHP Class Sulu\Component\Content\Document\Subscriber\ExtensionSubscriber

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Mostra file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( PropertyEncoder $encoder, Sulu\Component\Content\Extension\ExtensionManagerInterface $extensionManager, DocumentInspector $inspector, Sulu\Component\DocumentManager\NamespaceRegistry $namespaceRegistry )
getSubscribedEvents ( )
handleHydrate ( Sulu\Component\DocumentManager\Event\AbstractMappingEvent $event )
saveExtensionData ( Sulu\Component\DocumentManager\Event\AbstractMappingEvent $event )

Private Methods

Method Description
hydrate ( Sulu\Component\DocumentManager\Event\AbstractMappingEvent $event )

Method Details

__construct() public method

public __construct ( PropertyEncoder $encoder, Sulu\Component\Content\Extension\ExtensionManagerInterface $extensionManager, DocumentInspector $inspector, Sulu\Component\DocumentManager\NamespaceRegistry $namespaceRegistry )
$encoder Sulu\Bundle\DocumentManagerBundle\Bridge\PropertyEncoder
$extensionManager Sulu\Component\Content\Extension\ExtensionManagerInterface
$inspector Sulu\Bundle\DocumentManagerBundle\Bridge\DocumentInspector
$namespaceRegistry Sulu\Component\DocumentManager\NamespaceRegistry

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

handleHydrate() public method

public handleHydrate ( Sulu\Component\DocumentManager\Event\AbstractMappingEvent $event )
$event Sulu\Component\DocumentManager\Event\AbstractMappingEvent

saveExtensionData() public method

public saveExtensionData ( Sulu\Component\DocumentManager\Event\AbstractMappingEvent $event )
$event Sulu\Component\DocumentManager\Event\AbstractMappingEvent