classDefinitionSegments
final class DefinitionSegments
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Separates column declarations without splitting quoted text or nested expressions.
Methods§
public function split(string $sql): list<string>Returns nonempty declarations in their SQL order.
Parameters
$sql | string |
Returns
list<string>Test cases 2
Called from 2
- method-call SqlFixture\Platform\PostgreSql\Schema\DefinitionList::splitColumnDefinitions() packages/sql-fixture/src/Platform/PostgreSql/Schema/DefinitionList.php:51
- method-call SqlFixture\Platform\Sqlite\Schema\DefinitionList::splitColumnDefinitions() packages/sql-fixture/src/Platform/Sqlite/Schema/DefinitionList.php:51
Test cases 20§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Other tests reaching this symbol 18
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsFixtureProviderTestcallsPlatformFactoryTestcallsPostgreSqlSchemaFetcherTestcallsPostgreSqlSchemaParserTestcallsDefinitionListTestcallsDefinitionListTestcallsSqliteSchemaFetcherTestcallsSqliteSchemaParserTestcallsDatabaseSchemaCacheTestcallsDdlDirectoryTestcallsDdlFileTestcallsSqlSchemaProviderTestcallsSchemaFetcherInterfaceTestcallsSchemaParserInterfaceTestcalls
Relations§
Instantiated in 2
- new SqlFixture\Platform\PostgreSql\Schema\DefinitionList::splitColumnDefinitions() packages/sql-fixture/src/Platform/PostgreSql/Schema/DefinitionList.php:51
- new SqlFixture\Platform\Sqlite\Schema\DefinitionList::splitColumnDefinitions() packages/sql-fixture/src/Platform/Sqlite/Schema/DefinitionList.php:51
Method calls 2
- method-call SqlFixture\Platform\PostgreSql\Schema\DefinitionList::splitColumnDefinitions() packages/sql-fixture/src/Platform/PostgreSql/Schema/DefinitionList.php:51
- method-call SqlFixture\Platform\Sqlite\Schema\DefinitionList::splitColumnDefinitions() packages/sql-fixture/src/Platform/Sqlite/Schema/DefinitionList.php:51