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>
public function render(
    string $constraintName,
    array{columns: list<string>, table: string, referencedColumns: list<string>, onUpdate: string, onDelete: string} $foreignKey,
): string

Renders a validated composite foreign-key constraint and its actions.

Parameters

$constraintNamestring
$foreignKeyarray{columns: list<string>, table: string, referencedColumns: list<string>, onUpdate: string, onDelete: string}

Returns

string
Test cases 1
Called from 1
Calls 1

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

Relations§

Instantiated in 1
Method calls 1