SchemaImporterInterface
SchemaImporterInterface.php
:
18
Import database schema from custom Yaml Doctrine Schema format into Schema object.
Methods¶
importFromFile() ¶
SchemaImporterInterface.php
:
30
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
:
42
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