PHP Class Doctrine\Search\Serializer\CallbackSerializer

Inheritance: implements Doctrine\Search\SerializerInterface
Mostra file Open project: doctrine/search

Protected Properties

Property Type Description
$deserializerCallback
$serializerCallback

Public Methods

Method Description
__construct ( $serializerCallback = 'toArray', $deserializerCallback = 'fromArray' )
deserialize ( $entityName, $data )
serialize ( $object )

Method Details

__construct() public method

public __construct ( $serializerCallback = 'toArray', $deserializerCallback = 'fromArray' )

deserialize() public method

public deserialize ( $entityName, $data )

serialize() public method

public serialize ( $object )

Property Details

$deserializerCallback protected_oe property

protected $deserializerCallback

$serializerCallback protected_oe property

protected $serializerCallback