SchemaImporterInterface
SchemaImporterInterface.php
:
20
Interface
Import database schema from custom Yaml Doctrine Schema format into Schema object.
Methods¶
importFromFile()
¶
SchemaImporterInterface.php
:
32
Import database schema into \Doctrine\DBAL\Schema from file containing custom Yaml format.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $schemaFilePath | string | - | - |
| $targetSchema | Schema|null | null |
existing schema to import into, if not given, an empty one will be created |
Return values
Schema
imported schema
Tags
importFromSource()
¶
SchemaImporterInterface.php
:
47
Import database schema into \Doctrine\DBAL\Schema from string containing custom Yaml format.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $schemaDefinition | string | - | - |
| $targetSchema | Schema|null | null |
existing schema to import into, if not given, an empty one will be created |
Return values
Schema
imported schema