SchemaBuilderInterface
SchemaBuilderInterface.php
:
16
Doctrine\DBAL\Schema event-driven builder.
Methods¶
buildSchema() ¶
SchemaBuilderInterface.php
:
27
Build schema by dispatching the SchemaBuilderEvent event.
|
|
To build schema you should implement EventSubscriber subscribing to SchemaBuilderEvents::BUILD_SCHEMA. The method handling this event accepts single argument of SchemaBuilderEvent type
Return values
Schema
Tags
importSchemaFromFile() ¶
SchemaBuilderInterface.php
:
32
Import Schema from Yaml schema definition file into Schema object.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$schemaFilePath | string | - | - |
Return values
Schema