PHP Class Mmoreram\RSQueueBundle\Factory\SerializerFactory

显示文件 Open project: mmoreram/rsqueue-bundle Class Usage Examples

Protected Properties

Property Type Description
$serializerType SerializerInterface Serializer

Public Methods

Method Description
__construct ( string $serializerType ) Construct method
get ( ) : SerializerInterface Generate new Serializer

Method Details

__construct() public method

Construct method
public __construct ( string $serializerType )
$serializerType string Serializer type Construct method

get() public method

Generate new Serializer
public get ( ) : SerializerInterface
return SerializerInterface Generated Serializer

Property Details

$serializerType protected_oe property

Serializer
protected SerializerInterface $serializerType
return SerializerInterface