interface SchemaParserInterface
Interface for reverse engineering schema parsers.
Methods
ConnectionInterface |
getConnection()
Gets the database connection. |
|
setConnection(ConnectionInterface $dbh)
Sets the database connection. |
||
setGeneratorConfig(GeneratorConfigInterface $config)
Sets the GeneratorConfig to use in the parsing. |
||
mixed |
getBuildProperty(string $name)
Gets a specific propel (renamed) property from the build. |
|
string[] |
getWarnings()
Gets array of warning messages. |
|
int |
parse(Database $database)
Parse the schema and populate passed-in Database model object. |
Details
at line 28
public ConnectionInterface
getConnection()
Gets the database connection.
at line 35
public
setConnection(ConnectionInterface $dbh)
Sets the database connection.
at line 42
public
setGeneratorConfig(GeneratorConfigInterface $config)
Sets the GeneratorConfig to use in the parsing.
at line 50
public mixed
getBuildProperty(string $name)
Gets a specific propel (renamed) property from the build.
at line 56
public string[]
getWarnings()
Gets array of warning messages.
at line 64
public int
parse(Database $database)
Parse the schema and populate passed-in Database model object.