classForeignKeyRow
final class ForeignKeyRow
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Narrows catalog fields before assembling composite foreign keys.
Methods§
public function parse<T>(array<string, T> $foreignKeyRow): array{name: string, column: string, table: string, referencedColumn: string, onUpdate: string, onDelete: string}|nullValidates the string fields used to reconstruct a foreign-key constraint.
Parameters
$foreignKeyRow | array<string, T> |
Returns
array{name: string, column: string, table: string, referencedColumn: string, onUpdate: string, onDelete: string}|nullTest cases 1
Called from 1
Calls 1
- function-call
is_stringline 28
Test cases 5§
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 4
PgSqlSessionFactoryTestcallsPgSqlSchemaReflectorTestcallsForeignKeysTestcallsSchemaInitializerTestcalls