PHP Class Lemon\RestBundle\Serializer\ConstructorFactory

Datei anzeigen Open project: stanlemon/rest-bundle Class Usage Examples

Protected Properties

Property Type Description
$deserializationVisitors
$eventDispatcher
$factory
$handlerRegistry
$objectConstructorMap
$serializationVisitors

Public Methods

Method Description
__construct ( Metadata\MetadataFactoryInterface $factory, JMS\Serializer\Handler\HandlerRegistryInterface $handlerRegistry, PhpCollection\MapInterface $serializationVisitors, PhpCollection\MapInterface $deserializationVisitors, JMS\Serializer\EventDispatcher\EventDispatcherInterface $eventDispatcher )
addObjectConstructor ( $alias, JMS\Serializer\Construction\ObjectConstructorInterface $objectConstructor )
create ( $alias = 'default' )

Method Details

__construct() public method

public __construct ( Metadata\MetadataFactoryInterface $factory, JMS\Serializer\Handler\HandlerRegistryInterface $handlerRegistry, PhpCollection\MapInterface $serializationVisitors, PhpCollection\MapInterface $deserializationVisitors, JMS\Serializer\EventDispatcher\EventDispatcherInterface $eventDispatcher )
$factory Metadata\MetadataFactoryInterface
$handlerRegistry JMS\Serializer\Handler\HandlerRegistryInterface
$serializationVisitors PhpCollection\MapInterface
$deserializationVisitors PhpCollection\MapInterface
$eventDispatcher JMS\Serializer\EventDispatcher\EventDispatcherInterface

addObjectConstructor() public method

public addObjectConstructor ( $alias, JMS\Serializer\Construction\ObjectConstructorInterface $objectConstructor )
$objectConstructor JMS\Serializer\Construction\ObjectConstructorInterface

create() public method

public create ( $alias = 'default' )

Property Details

$deserializationVisitors protected_oe property

protected $deserializationVisitors

$eventDispatcher protected_oe property

protected $eventDispatcher

$factory protected_oe property

protected $factory

$handlerRegistry protected_oe property

protected $handlerRegistry

$objectConstructorMap protected_oe property

protected $objectConstructorMap

$serializationVisitors protected_oe property

protected $serializationVisitors