protected function convertToPHPValue($value, $type)
    {
        return Type::getType($type)->convertToPHPValue($value, $this->connection->getDatabasePlatform());
    }
protected function convertToPHPValue($value, $type)
    {
        return Type::getType($type)->convertToPHPValue($value, $this->connection->getDatabasePlatform());
    }
protected function convertToPHPValue ( $ value , $ type ) { return Type :: getType ( $ type ) -> convertToPHPValue ( $ value , $ this -> connection -> getDatabasePlatform ( ) ) ; }
Converts read value to its php representation

@param mixed  $value
@param string $type

@return mixed
@throws \Doctrine\DBAL\DBALException
Converts read value to its php representation