interfaceSchemaParserInterface
interface SchemaParserInterface
Parses CREATE TABLE text into a dialect-independent schema.
Methods§
public function parse(string $createTableSql): TableSchemaParse a CREATE TABLE statement into a TableSchema.
Parameters
$createTableSql | string |
Returns
Throws
Called from 1
Test cases 26§
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 25
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsPlanSchemaValidatorTestcallsRowGenerationTestcallsFixtureGeneratorTestcallsFixtureProviderTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsMySqlSchemaFetcherTestcallsMySqlSchemaParserTestcallsPlatformFactoryTestcallsPostgreSqlSchemaFetcherTestcallsPostgreSqlSchemaParserTestcallsSqliteSchemaFetcherTestcallsSqliteSchemaParserTestcallsDatabaseSchemaCacheTestcallsDdlDirectoryTestcallsDdlFileTestcallsSqlSchemaProviderTestcallsMySqlSchemaParserTestcallsSchemaFetcherInterfaceTestcalls
Relations§
Implemented by 4
- MySqlSchemaParser packages/sql-fixture/src/Platform/MySql/MySqlSchemaParser.php:15
- PostgreSqlSchemaParser packages/sql-fixture/src/Platform/PostgreSql/PostgreSqlSchemaParser.php:20
- SqliteSchemaParser packages/sql-fixture/src/Platform/Sqlite/SqliteSchemaParser.php:23
- MySqlSchemaParser packages/sql-fixture/src/Schema/MySqlSchemaParser.php:12
Method calls 1
Type declarations 7
- type SqlFixture\FixtureGenerator packages/sql-fixture/src/FixtureGenerator.php:23
- type SqlFixture\FixtureGenerator packages/sql-fixture/src/FixtureGenerator.php:32
- type SqlFixture\FixtureGenerator packages/sql-fixture/src/FixtureGenerator.php:82
- type SqlFixture\FixtureProvider packages/sql-fixture/src/FixtureProvider.php:48
- type SqlFixture\Platform\PlatformFactory packages/sql-fixture/src/Platform/PlatformFactory.php:46
- type SqlFixture\Provider\DdlDirectory packages/sql-fixture/src/Provider/DdlDirectory.php:24
- type SqlFixture\Provider\DdlFile packages/sql-fixture/src/Provider/DdlFile.php:23