\Cake\Database\TypeBatchCastingInterface

Denotes type objects capable of converting many values from their original database representation to php values.

Summary

Methods
Constants
manyToPHP()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

manyToPHP()

manyToPHP(array  $values, array  $fields, \Cake\Database\Driver  $driver) : array

Returns an array of the values converted to the PHP representation of this type.

Parameters

array $values

The original array of values containing the fields to be casted

array $fields

The field keys to cast

\Cake\Database\Driver $driver

Object from which database preferences and configuration will be extracted.

Returns

array