interfaceSchemaParser
interface SchemaParser
Parses DDL SQL into a structured TableDefinition.
Methods§
public function parse(string $createTableSql): TableDefinition|nullParse a CREATE TABLE SQL statement into a TableDefinition.
Parameters
$createTableSql | string |
Returns
TableDefinition|null Null if the SQL cannot be parsed as a CREATE TABLE statement.Test cases 4§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
SchemaParserTestcalls
Other tests reaching this symbol 3
RewriterContractTestcallsSchemaParserContractTestcallsFakeSchemaParsercalls