final class MySqlSchemaParser
    implements SchemaParser

MySQL implementation of SchemaParser using phpMyAdmin SQL parser.

Methods§

public function __construct(MySqlParser $parser)

Configure the dependencies used by this operation.

Parameters

public function parse(string $createTableSql): ?TableDefinition

{@inheritDoc}

Parameters

$createTableSqlstring
Test cases 321
Called from 1
Calls 11

Private surface 1§

Implementation details, listed for orientation only.

private MySqlParser $parser

Test cases 430§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 58
Other tests reaching this symbol 372

Relations§

Instantiated in 1
Method calls 1