Elastification PHP Client API
Interface

Elastification\Client\Response\ResponseInterface

interface ResponseInterface

Interface ResponseInterface

Methods

void __construct(string $rawData, SerializerInterface $serializer, array $serializerParams = array())

mixed getData()

Gets the converted data of the response

string getRawData()

Gets the raw not converted data of the response

SerializerInterface getSerializer()

Gets the current defined serializer

Details

at line 38
public void __construct(string $rawData, SerializerInterface $serializer, array $serializerParams = array())

Parameters

string $rawData
SerializerInterface $serializer
array $serializerParams

Return Value

void

at line 46
public mixed getData()

Gets the converted data of the response

Return Value

mixed

at line 54
public string getRawData()

Gets the raw not converted data of the response

Return Value

string

at line 62
public SerializerInterface getSerializer()

Gets the current defined serializer

Return Value

SerializerInterface