CreateForeignKeyDefinitionItem extends AbstractCreateDefinitionItem
FinalYes
Syntax node to structure a foreign key definition.
Table of Contents
Properties
- $columnNames : array<string|int, mixed>
- $indexName : Identifier
- $reference : ReferenceDefinition
Methods
- __construct() : mixed
Properties
$columnNames read-only
public
array<string|int, mixed>
$columnNames
$indexName read-only
public
Identifier
$indexName
$reference read-only
public
ReferenceDefinition
$reference
Methods
__construct()
public
__construct(Identifier $indexName, array<string|int, IndexColumnName> $columnNames, ReferenceDefinition $reference) : mixed
Parameters
- $indexName : Identifier
- $columnNames : array<string|int, IndexColumnName>
- $reference : ReferenceDefinition