PHP Class Jsor\Doctrine\PostGIS\Event\DBALSchemaEventSubscriber

Inheritance: implements Doctrine\Common\EventSubscriber
Datei anzeigen Open project: jsor/doctrine-postgis Class Usage Examples

Protected Properties

Property Type Description
$connection Doctrine\DBAL\Connection
$postConnectCalled boolean
$schemaManager Jsor\Doctrine\PostGIS\Schema\SchemaManager

Public Methods

Method Description
getSubscribedEvents ( )
isSpatialColumnType ( Doctrine\DBAL\Schema\Column $column )
onSchemaAlterTable ( Doctrine\DBAL\Event\SchemaAlterTableEventArgs $args )
onSchemaAlterTableAddColumn ( Doctrine\DBAL\Event\SchemaAlterTableAddColumnEventArgs $args )
onSchemaAlterTableChangeColumn ( Doctrine\DBAL\Event\SchemaAlterTableChangeColumnEventArgs $args )
onSchemaAlterTableRemoveColumn ( Doctrine\DBAL\Event\SchemaAlterTableRemoveColumnEventArgs $args )
onSchemaAlterTableRenameColumn ( Doctrine\DBAL\Event\SchemaAlterTableRenameColumnEventArgs $args )
onSchemaColumnDefinition ( Doctrine\DBAL\Event\SchemaColumnDefinitionEventArgs $args )
onSchemaCreateTable ( Doctrine\DBAL\Event\SchemaCreateTableEventArgs $args )
onSchemaDropTable ( Doctrine\DBAL\Event\SchemaDropTableEventArgs $args )
onSchemaIndexDefinition ( Doctrine\DBAL\Event\SchemaIndexDefinitionEventArgs $args )
postConnect ( Doctrine\DBAL\Event\ConnectionEventArgs $args )

Method Details

getSubscribedEvents() public method

public getSubscribedEvents ( )

isSpatialColumnType() public method

public isSpatialColumnType ( Doctrine\DBAL\Schema\Column $column )
$column Doctrine\DBAL\Schema\Column

onSchemaAlterTable() public method

public onSchemaAlterTable ( Doctrine\DBAL\Event\SchemaAlterTableEventArgs $args )
$args Doctrine\DBAL\Event\SchemaAlterTableEventArgs

onSchemaAlterTableAddColumn() public method

public onSchemaAlterTableAddColumn ( Doctrine\DBAL\Event\SchemaAlterTableAddColumnEventArgs $args )
$args Doctrine\DBAL\Event\SchemaAlterTableAddColumnEventArgs

onSchemaAlterTableChangeColumn() public method

public onSchemaAlterTableChangeColumn ( Doctrine\DBAL\Event\SchemaAlterTableChangeColumnEventArgs $args )
$args Doctrine\DBAL\Event\SchemaAlterTableChangeColumnEventArgs

onSchemaAlterTableRemoveColumn() public method

public onSchemaAlterTableRemoveColumn ( Doctrine\DBAL\Event\SchemaAlterTableRemoveColumnEventArgs $args )
$args Doctrine\DBAL\Event\SchemaAlterTableRemoveColumnEventArgs

onSchemaAlterTableRenameColumn() public method

public onSchemaAlterTableRenameColumn ( Doctrine\DBAL\Event\SchemaAlterTableRenameColumnEventArgs $args )
$args Doctrine\DBAL\Event\SchemaAlterTableRenameColumnEventArgs

onSchemaColumnDefinition() public method

public onSchemaColumnDefinition ( Doctrine\DBAL\Event\SchemaColumnDefinitionEventArgs $args )
$args Doctrine\DBAL\Event\SchemaColumnDefinitionEventArgs

onSchemaCreateTable() public method

public onSchemaCreateTable ( Doctrine\DBAL\Event\SchemaCreateTableEventArgs $args )
$args Doctrine\DBAL\Event\SchemaCreateTableEventArgs

onSchemaDropTable() public method

public onSchemaDropTable ( Doctrine\DBAL\Event\SchemaDropTableEventArgs $args )
$args Doctrine\DBAL\Event\SchemaDropTableEventArgs

onSchemaIndexDefinition() public method

public onSchemaIndexDefinition ( Doctrine\DBAL\Event\SchemaIndexDefinitionEventArgs $args )
$args Doctrine\DBAL\Event\SchemaIndexDefinitionEventArgs

postConnect() public method

public postConnect ( Doctrine\DBAL\Event\ConnectionEventArgs $args )
$args Doctrine\DBAL\Event\ConnectionEventArgs

Property Details

$connection protected_oe property

protected Connection,Doctrine\DBAL $connection
return Doctrine\DBAL\Connection

$postConnectCalled protected_oe property

protected bool $postConnectCalled
return boolean

$schemaManager protected_oe property

protected SchemaManager,Jsor\Doctrine\PostGIS\Schema $schemaManager
return Jsor\Doctrine\PostGIS\Schema\SchemaManager