classSqlSchemaProvider
abstract class SqlSchemaProvider
extends Base
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Keeps the provider schema cache and its protected inheritance hook together.
Methods§
protected function getSchema(string $createTableSql, ?string $dialect = null): TableSchemaGet or parse schema from SQL.
Parameters
$createTableSql | string | |
$dialect | ?string |
Returns
Calls 5
- method-call SqlSchemaProvider::getDialect() line 30
- function-call
md5line 31 - static-call PlatformFactory::createSchemaParser() line 35
- method-call SqlSchemaProvider::getFixtureGenerator() line 36
- method-call SqlSchemaProvider::getSchemaResolver() line 40
abstract public function getFixtureGenerator(): FixtureGeneratorSupplies the parser selected by the concrete provider.
Returns
abstract public function getDialect(): stringSupplies the default dialect selected by the concrete provider.
Returns
stringabstract public function getSchemaResolver(): StaticSchemaResolverSupplies the registry used by fixture plans.
Returns
Private surface 1§
Implementation details, listed for orientation only.
private array<string, TableSchema> $schemaCache = []Test cases 4§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
SqlSchemaProviderTestcalls
Other tests reaching this symbol 3
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsFixtureProviderTestcalls