Elastification PHP Client API
Interface

Elastification\Client\Serializer\Gateway\GatewayInterface

interface GatewayInterface implements ArrayAccess, Iterator, Countable

Interface for accessing properties of the serialized data.

The idea behind the gateway is to create a simple abstraction for the response layer to access things like the response time ("took") and to get to know if the request went well, etc.

The gateway is not meant to be used outside of the ecosystem of the client. Use the GatewayInterface#getGatewayValue method to get the real, un-managed result of your chosen serializer.

For performance reasons you should call this method as soon as possible in your code and work with the real result.

Methods

mixed getGatewayValue()

Returns the original value.

Details

at line 43
public mixed getGatewayValue()

Returns the original value.

Return Value

mixed