Page MenuHomeWickedGov Phorge

Constraint.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

Constraint.php

<?php
namespace Doctrine\DBAL\Schema;
use Doctrine\DBAL\Platforms\AbstractPlatform;
/**
* Marker interface for constraints.
*
* @deprecated Use {@see ForeignKeyConstraint}, {@see Index} or {@see UniqueConstraint} instead.
*/
interface Constraint
{
/** @return string */
public function getName();
/** @return string */
public function getQuotedName(AbstractPlatform $platform);
/**
* Returns the names of the referencing table columns
* the constraint is associated with.
*
* @return string[]
*/
public function getColumns();
/**
* Returns the quoted representation of the column names
* the constraint is associated with.
*
* 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.
*
* @param AbstractPlatform $platform The platform to use for quotation.
*
* @return string[]
*/
public function getQuotedColumns(AbstractPlatform $platform);
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 17:14 (1 d, 12 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c9/6a/1d44676217fa9c242863c99c50ae
Default Alt Text
Constraint.php (1 KB)

Event Timeline