classColumnParser
final class ColumnParser
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Reads a column declaration into a schema value.
Methods§
public function parseColumnDefinition(
string $definition,
list<string> $tablePrimaryKeys,
): ?ColumnDefinitionParameters
$definition | string | |
$tablePrimaryKeys | list<string> |
Returns
Test cases 2
Called from 1
Calls 10
- function-call
preg_matchline 21 - function-call
trimline 26 - method-call TypeDeclaration::parse() line 28
- new TypeDeclaration line 28
- function-call
strtoupperline 31 - function-call
str_containsline 32 - function-call
in_arrayline 35 - method-call DefaultExpression::extractDefault() line 40
- new DefaultExpression line 40
- new ColumnDefinition line 44
Test cases 17§
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 15
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsFixtureProviderTestcallsPlatformFactoryTestcallsDefinitionListTestcallsSqliteSchemaFetcherTestcallsSqliteSchemaParserTestcallsDatabaseSchemaCacheTestcallsDdlDirectoryTestcallsDdlFileTestcallsSqlSchemaProviderTestcallsSchemaFetcherInterfaceTestcallsSchemaParserInterfaceTestcalls