ReferenceDefinition
final class \
Syntax node to represent the REFERENCES part of a foreign key definition, encapsulating ON UPDATE/ON DELETE actions as well as the foreign table name and columns.
Internal
Table of Contents
Properties
- $columnNames : array
- $match : string|null
- $onDelete : string|null
- $onUpdate : string|null
- $tableName : Identifier
Methods
- __construct() : mixed
Properties
$columnNames read-only
public
array
$columnNames
$match
public
string|null
$match
= null
$onDelete
public
string|null
$onDelete
= null
$onUpdate
public
string|null
$onUpdate
= null
$tableName read-only
public
Identifier
$tableName
Methods
__construct()
public
__construct(Identifier $tableName, IndexColumnName[] $columnNames) : mixed
Parameters
- $tableName : Identifier
- $columnNames : IndexColumnName[]