Elastification PHP Client API
Class

Elastification\Client\Serializer\DoNothingSerializer

class DoNothingSerializer implements SerializerInterface

A simple pass-through "serializer".

Methods

string serialize(mixed $data, array $params = array())

GatewayInterface deserialize(string $data, array $params = array())

Details

at line 32
public string serialize(mixed $data, array $params = array())

Parameters

mixed $data The data to handle.
array $params The params are passed to the chosen serializer.

Return Value

string

at line 40
public GatewayInterface deserialize(string $data, array $params = array())

Parameters

string $data The data to handle.
array $params The params are passed to the chosen serializer.

Return Value

GatewayInterface