classForeignKeys
final class ForeignKeys
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Reconstructs ordered composite foreign keys and referential actions.
Methods§
public function definitions(StatementInterface|false $statement): list<string>Groups ordered catalog rows into complete foreign-key declarations.
Parameters
$statement | StatementInterface|false |
Returns
list<string>Test cases 1
Called from 1
Calls 3
- method-call ForeignKeyRow::parse() line 30
- new ForeignKeyRow line 30
- method-call ForeignKeys::render() line 43
public function render(
string $constraintName,
array{columns: list<string>, table: string, referencedColumns: list<string>, onUpdate: string, onDelete: string} $foreignKey,
): stringRenders a validated composite foreign-key constraint and its actions.
Parameters
$constraintName | string | |
$foreignKey | array{columns: list<string>, table: string, referencedColumns: list<string>, onUpdate: string, onDelete: string} |
Returns
stringTest cases 1
Called from 1
Calls 1
- function-call
implodeline 55
Test cases 5§
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 3
PgSqlSessionFactoryTestcallsPgSqlSchemaReflectorTestcallsSchemaInitializerTestcalls