PHP Класс Contao\CoreBundle\EventListener\DoctrineSchemaListener

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( DcaSchemaProvider $provider ) Constructor.
onSchemaIndexDefinition ( Doctrine\DBAL\Event\SchemaIndexDefinitionEventArgs $event ) Handles the Doctrine schema and overrides the indexes with a fixed length.
postGenerateSchema ( Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs $event ) Adds the Contao DCA information to the Doctrine schema.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( DcaSchemaProvider $provider )
$provider Contao\CoreBundle\Doctrine\Schema\DcaSchemaProvider

onSchemaIndexDefinition() публичный Метод

Handles the Doctrine schema and overrides the indexes with a fixed length.
public onSchemaIndexDefinition ( Doctrine\DBAL\Event\SchemaIndexDefinitionEventArgs $event )
$event Doctrine\DBAL\Event\SchemaIndexDefinitionEventArgs

postGenerateSchema() публичный Метод

Adds the Contao DCA information to the Doctrine schema.
public postGenerateSchema ( Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs $event )
$event Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs