Jsor\Doctrine\PostGIS\Schema\CreateTableSqlGenerator::__construct PHP Method

__construct() public method

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);
    }