Commit f3d22c04 authored by Steve Müller's avatar Steve Müller

add phpDoc for new method in constraint interface

parent b37bebdc
......@@ -40,5 +40,17 @@ interface Constraint
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 \Doctrine\DBAL\Platforms\AbstractPlatform $platform The platform to use for quotation.
*
* @return array
*/
public function getQuotedColumns(AbstractPlatform $platform);
}
......@@ -91,16 +91,7 @@ class Index extends AbstractAsset implements Constraint
}
/**
* Returns the quoted representation of the column names
* the index is associated with.
*
* But only if they were defined with one or the column name
* is a keyword reserved by the platform.
* Otherwise the plain unquoted value as inserted is returned.
*
* @param \Doctrine\DBAL\Platforms\AbstractPlatform $platform The platform to use for quotation.
*
* @return array
* {@inheritdoc}
*/
public function getQuotedColumns(AbstractPlatform $platform)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment