CrEOF\Spatial\DBAL\Platform\AbstractPlatform::convertStringToPHPValue PHP 메소드

convertStringToPHPValue() 공개 메소드

public convertStringToPHPValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, string $sqlExpr ) : CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface
$type CrEOF\Spatial\DBAL\Types\AbstractSpatialType
$sqlExpr string
리턴 CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface
    public function convertStringToPHPValue(AbstractSpatialType $type, $sqlExpr)
    {
        $parser = new StringParser($sqlExpr);
        return $this->newObjectFromValue($type, $parser->parse());
    }