<?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); }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Exception | Folder | 0755 |
|
|
Visitor | Folder | 0755 |
|
|
AbstractAsset.php | File | 6 KB | 0644 |
|
AbstractSchemaManager.php | File | 49.85 KB | 0644 |
|
Column.php | File | 9.38 KB | 0644 |
|
ColumnDiff.php | File | 4.14 KB | 0644 |
|
Comparator.php | File | 23.55 KB | 0644 |
|
Constraint.php | File | 1.04 KB | 0644 |
|
DB2SchemaManager.php | File | 12.66 KB | 0644 |
|
DefaultSchemaManagerFactory.php | File | 578 B | 0644 |
|
ForeignKeyConstraint.php | File | 11.03 KB | 0644 |
|
Identifier.php | File | 666 B | 0644 |
|
Index.php | File | 8.72 KB | 0644 |
|
LegacySchemaManagerFactory.php | File | 455 B | 0644 |
|
MySQLSchemaManager.php | File | 17.87 KB | 0644 |
|
OracleSchemaManager.php | File | 16.03 KB | 0644 |
|
PostgreSQLSchemaManager.php | File | 23.13 KB | 0644 |
|
SQLServerSchemaManager.php | File | 18.6 KB | 0644 |
|
Schema.php | File | 12.66 KB | 0644 |
|
SchemaConfig.php | File | 2.4 KB | 0644 |
|
SchemaDiff.php | File | 7.53 KB | 0644 |
|
SchemaException.php | File | 5.41 KB | 0644 |
|
SchemaManagerFactory.php | File | 381 B | 0644 |
|
Sequence.php | File | 3.28 KB | 0644 |
|
SqliteSchemaManager.php | File | 22.02 KB | 0644 |
|
Table.php | File | 27.74 KB | 0644 |
|
TableDiff.php | File | 9.61 KB | 0644 |
|
UniqueConstraint.php | File | 3.19 KB | 0644 |
|
View.php | File | 445 B | 0644 |
|