PHP Class Lemon\RestBundle\Serializer\Construction\ToggleDoctrineObjectConstructor

Inheritance: implements JMS\Serializer\Construction\ObjectConstructorInterface
显示文件 Open project: stanlemon/rest-bundle

Protected Properties

Property Type Description
$doctrineObjectConstructor JMS\Serializer\Construction\DoctrineObjectConstructor
$objectConstructor JMS\Serializer\Construction\ObjectConstructorInterface
$unserializeObjectConstructor JMS\Serializer\Construction\UnserializeObjectConstructor

Public Methods

Method Description
__construct ( JMS\Serializer\Construction\DoctrineObjectConstructor $doctrineObjectConstructor, JMS\Serializer\Construction\UnserializeObjectConstructor $unserializeObjectConstructor )
construct ( JMS\Serializer\VisitorInterface $visitor, JMS\Serializer\Metadata\ClassMetadata $metadata, $data, array $type, JMS\Serializer\DeserializationContext $context )
isDefault ( )
isDoctrine ( )
useDefault ( )
useDoctrine ( )

Method Details

__construct() public method

public __construct ( JMS\Serializer\Construction\DoctrineObjectConstructor $doctrineObjectConstructor, JMS\Serializer\Construction\UnserializeObjectConstructor $unserializeObjectConstructor )
$doctrineObjectConstructor JMS\Serializer\Construction\DoctrineObjectConstructor
$unserializeObjectConstructor JMS\Serializer\Construction\UnserializeObjectConstructor

construct() public method

public construct ( JMS\Serializer\VisitorInterface $visitor, JMS\Serializer\Metadata\ClassMetadata $metadata, $data, array $type, JMS\Serializer\DeserializationContext $context )
$visitor JMS\Serializer\VisitorInterface
$metadata JMS\Serializer\Metadata\ClassMetadata
$type array
$context JMS\Serializer\DeserializationContext

isDefault() public method

public isDefault ( )

isDoctrine() public method

public isDoctrine ( )

useDefault() public method

public useDefault ( )

useDoctrine() public method

public useDoctrine ( )

Property Details

$doctrineObjectConstructor protected_oe property

protected DoctrineObjectConstructor,JMS\Serializer\Construction $doctrineObjectConstructor
return JMS\Serializer\Construction\DoctrineObjectConstructor

$objectConstructor protected_oe property

protected ObjectConstructorInterface,JMS\Serializer\Construction $objectConstructor
return JMS\Serializer\Construction\ObjectConstructorInterface

$unserializeObjectConstructor protected_oe property

protected UnserializeObjectConstructor,JMS\Serializer\Construction $unserializeObjectConstructor
return JMS\Serializer\Construction\UnserializeObjectConstructor