abstract class AbstractDeserializer

Class AbstractDeserializer abstract class that needs to be extended in all custom deserializers. Defines necessary methods

Methods

static Serializer
getDeserializer()

Returns specific deserializer that extends AbstractDeserializer

static mixed
deserialize(string $content)

Deserialize content to object of specific type

static mixed
serializeForSelectBox(ArrayCollection $content)

Serialize ArrayCollection of objects to array for select box purposes

Details

at line 26
static Serializer getDeserializer()

Returns specific deserializer that extends AbstractDeserializer

Return Value

Serializer

at line 38
static mixed deserialize(string $content)

Deserialize content to object of specific type

Parameters

string $content

Return Value

mixed

at line 49
static mixed serializeForSelectBox(ArrayCollection $content)

Serialize ArrayCollection of objects to array for select box purposes

Parameters

ArrayCollection $content

Return Value

mixed