SerializerManager
class SerializerManager
Class SerializerManager
Methods
$this
reset()
Reset manager
array
getSerializers()
Get all serializers
boolean
has(
string $serializerId,
boolean $throwException = false)
Determine if a serializer exists under the given identifier
get(
string $serializerId)
Get a serializer
$this
setSerializers(
array $serializers)
Set serializers
$this
add(
SerializerInterface $serializer)
Add a serializer
remove(
string $serializerId)
Remove a serializer
Details
at line 33
$this
reset()
Reset manager
at line 45
array
getSerializers()
Get all serializers
at line 60
boolean
has(
string $serializerId,
boolean $throwException = false)
Determine if a serializer exists under the given identifier
at line 85
SerializerInterface
get(
string $serializerId)
Get a serializer
at line 101
$this
setSerializers(
array $serializers)
Set serializers
at line 123
$this
add(
SerializerInterface $serializer)
Add a serializer
at line 135
remove(
string $serializerId)
Remove a serializer