1 # mixed pq\Converter::convertFromString(string $data[, int $type = NULL)
3 Convert a string received from the PostgreSQL server back to a PHP type.
8 String data received from the server.
9 * Optional in $type = NULL
10 The type of the data. Irrelevant for single-type converters.
14 * mixed, the value converted to a PHP type.
20 abstract class Example implements pq\Converter {
21 function convertFromString($data, $type = NULL) {
22 return uuid_parse($data);