Doctrine\DBAL\Connection::convertToPHPValue
Converts a given value to its PHP representation according to the conversion rules of a specific DBAL mapping type.
Signature
public function convertToPHPValue(mixed
$value,
string
$type )
Parameters
$value
— mixed- The value to convert.
$type
— string- The name of the DBAL mapping type.
Returns
- mixed
- The converted type.