interface SchemaParser
Interface for reverse engineering schema parsers.
Methods
PDO |
getConnection()
Gets the database connection. |
|
setConnection(PDO $dbh)
Sets the database connection. |
||
setGeneratorConfig(GeneratorConfig $config)
Sets the GeneratorConfig to use in the parsing. |
||
mixed |
getBuildProperty(string $name)
Gets a specific propel (renamed) property from the build. |
|
array |
getWarnings()
Gets array of warning messages. |
|
int |
parse(Database $database, Task $task = null)
Parse the schema and populate passed-in Database model object. |
Details
at line 25
public PDO
getConnection()
Gets the database connection.
at line 32
public
setConnection(PDO $dbh)
Sets the database connection.
at line 39
public
setGeneratorConfig(GeneratorConfig $config)
Sets the GeneratorConfig to use in the parsing.
at line 47
public mixed
getBuildProperty(string $name)
Gets a specific propel (renamed) property from the build.
at line 53
public array
getWarnings()
Gets array of warning messages.
at line 62
public int
parse(Database $database, Task $task = null)
Parse the schema and populate passed-in Database model object.