Constraint
in
Marker interface for constraints.
Tags
Table of Contents
Methods
- getColumns() : array<string|int, string>
- Returns the names of the referencing table columns the constraint is associated with.
- getName() : string
- getQuotedColumns() : array<string|int, string>
- Returns the quoted representation of the column names the constraint is associated with.
- getQuotedName() : string
Methods
getColumns()
Returns the names of the referencing table columns the constraint is associated with.
public
getColumns() : array<string|int, string>
Return values
array<string|int, string>getName()
public
getName() : string
Return values
stringgetQuotedColumns()
Returns the quoted representation of the column names the constraint is associated with.
public
getQuotedColumns(AbstractPlatform $platform) : array<string|int, string>
But only if they were defined with one or a column name is a keyword reserved by the platform. Otherwise the plain unquoted value as inserted is returned.
Parameters
- $platform : AbstractPlatform
-
The platform to use for quotation.
Return values
array<string|int, string>getQuotedName()
public
getQuotedName(AbstractPlatform $platform) : string
Parameters
- $platform : AbstractPlatform