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}|null

Validates the string fields used to reconstruct a foreign-key constraint.

Parameters

$foreignKeyRowarray<string, T>

Returns

array{name: string, column: string, table: string, referencedColumn: string, onUpdate: string, onDelete: string}|null
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 1
Other tests reaching this symbol 4

Relations§

Instantiated in 1
Method calls 1