Beta version

class GroupJsonSerializer extends AbstractJsonSerializer

Serialization class for Group.

Methods

string
serialize(mixed $obj)

Serializes data.

__construct(EntityManager $em)

No description

array
toArray(Group $group)

Create a simple associative array with an entity.

deserialize(string $string)

Deserializes a json file into a readable array of datas.

Details

string serialize(mixed $obj)

Serializes data.

Parameters

mixed $obj

Return Value

string

at line 49
__construct(EntityManager $em)

Parameters

EntityManager $em

at line 62
array toArray(Group $group)

Create a simple associative array with an entity.

Parameters

Group $group

Return Value

array

at line 83
Group deserialize(string $string)

Deserializes a json file into a readable array of datas.

Parameters

string $string Input to deserialize

Return Value

Group