mixed pq\Converter::convertFromString(string $data, int $type)Convert a string received from the PostgreSQL server back to a PHP type.
string $data#int $type#mixed, the value converted to a PHP type.
<?php
abstract class Example implements pq\Converter {
function convertFromString($data, $type) {
return uuid_parse($data);
}
}
?>