Beta version

class UrlAliasJsonSerializer extends AbstractJsonSerializer

Json Serialization handler for UrlAlias.

Methods

string
serialize(mixed $obj)

Serializes data.

array
toArray(UrlAlias $urlAlias)

Create a simple associative array with an entity.

deserialize(string $jsonString)

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
array toArray(UrlAlias $urlAlias)

Create a simple associative array with an entity.

Parameters

UrlAlias $urlAlias

Return Value

array

at line 66
UrlAlias deserialize(string $jsonString)

Deserializes a json file into a readable array of datas.

Parameters

string $jsonString

Return Value

UrlAlias