final class DdlFile
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Reads a DDL file and rejects statements outside the schema grammar.

Methods§

public function loadSchemaFile(string $filePath, SchemaParserInterface $parser): ?TableSchema

Load a single SQL file.

Parameters

$filePathstring
$parserSchemaParserInterface

Returns

Throws

RuntimeException
Test cases 1
Called from 1
Calls 5

Test cases 3§

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 2

Relations§

Instantiated in 1
Method calls 1