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

Loads table schemas from the SQL files in a directory.

Methods§

public function loadSchemas(
    string $ddlPath,
    SchemaParserInterface $parser,
): array<string, TableSchema>

Load all SQL files from the DDL directory.

Parameters

$ddlPathstring
$parserSchemaParserInterface

Returns

array<string, TableSchema>

Throws

RuntimeException
Test cases 1
Called from 1
Calls 6

Test cases 2§

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 1

Relations§

Instantiated in 1
Method calls 1