interface SchemaParser

Parses DDL SQL into a structured TableDefinition.

Methods§

public function parse(string $createTableSql): TableDefinition|null

Parse a CREATE TABLE SQL statement into a TableDefinition.

Parameters

$createTableSqlstring

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
Other tests reaching this symbol 3

Relations§

Implemented by 1