Jsor\Doctrine\PostGIS\Schema\CreateTableSqlGenerator::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( PostgreSqlPlatform $platform, $isPostGis2 = true )
$platform Doctrine\DBAL\Platforms\PostgreSqlPlatform
    public function __construct(PostgreSqlPlatform $platform, $isPostGis2 = true)
    {
        $this->platform = $platform;
        $this->isPostGis2 = $isPostGis2;
        $this->spatialColumnSqlGenerator = new SpatialColumnSqlGenerator($platform);
        $this->spatialIndexSqlGenerator = new SpatialIndexSqlGenerator($platform);
    }