Doctrine\ORM\Internal\Hydration\AbstractHydrator::gatherScalarRowData
Processes a row of the result set.
Used for HYDRATE_SCALAR. This is a variant of _gatherRowData() that simply converts column names to field names and properly converts the values according to their types. The resulting row has the same number of elements as before.
Signature
protected function gatherScalarRowData(array&
$data,
array&
$cache )
Parameters
$data
— array$cache
— array
Returns
- array
- The processed row.