PHP Class League\Geotools\Cache\AbstractCache

Antoine Corcy
Mostrar archivo Open project: toin0u/geotools

Protected Methods

Method Description
deserialize ( string $json ) : array Deserialize a json to BatchGeocoded object.
normalize ( League\Geotools\Batch\BatchGeocoded $object ) : array Normalize an object to array.
serialize ( League\Geotools\Batch\BatchGeocoded $object ) : string Serialize an object to json.

Private Methods

Method Description
fixSerialization ( array $serialized )

Method Details

deserialize() protected method

Deserialize a json to BatchGeocoded object.
protected deserialize ( string $json ) : array
$json string The json string to deserialize to BatchGeocoded object.
return array The deserialized json to array.

normalize() protected method

Normalize an object to array.
protected normalize ( League\Geotools\Batch\BatchGeocoded $object ) : array
$object League\Geotools\Batch\BatchGeocoded The BatchGeocoded object to normalize.
return array The normalized object.

serialize() protected method

Serialize an object to json.
protected serialize ( League\Geotools\Batch\BatchGeocoded $object ) : string
$object League\Geotools\Batch\BatchGeocoded The BatchGeocoded object to serialize.
return string The serialized object in json.