Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
f3d22c04
Commit
f3d22c04
authored
Apr 08, 2013
by
Steve Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add phpDoc for new method in constraint interface
parent
b37bebdc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
Constraint.php
lib/Doctrine/DBAL/Schema/Constraint.php
+12
-0
Index.php
lib/Doctrine/DBAL/Schema/Index.php
+1
-10
No files found.
lib/Doctrine/DBAL/Schema/Constraint.php
View file @
f3d22c04
...
...
@@ -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
);
}
lib/Doctrine/DBAL/Schema/Index.php
View file @
f3d22c04
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment