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
120b30ba
Commit
120b30ba
authored
Apr 29, 2014
by
Marco Pivetta
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #582 from JeroenDeDauw/index
Various doc imporvements in Index
parents
867824b7
e547ee28
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
Index.php
lib/Doctrine/DBAL/Schema/Index.php
+11
-10
No files found.
lib/Doctrine/DBAL/Schema/Index.php
View file @
120b30ba
...
...
@@ -43,6 +43,7 @@ class Index extends AbstractAsset implements Constraint
/**
* Platform specific flags for indexes.
* array($flagName => true)
*
* @var array
*/
...
...
@@ -50,10 +51,10 @@ class Index extends AbstractAsset implements Constraint
/**
* @param string $indexName
* @param
array
$columns
* @param
string[]
$columns
* @param boolean $isUnique
* @param boolean $isPrimary
* @param
array
$flags
* @param
string[]
$flags
*/
public
function
__construct
(
$indexName
,
array
$columns
,
$isUnique
=
false
,
$isPrimary
=
false
,
array
$flags
=
array
())
{
...
...
@@ -110,7 +111,7 @@ class Index extends AbstractAsset implements Constraint
}
/**
* @return
array
* @return
string[]
*/
public
function
getUnquotedColumns
()
{
...
...
@@ -182,7 +183,7 @@ class Index extends AbstractAsset implements Constraint
/**
* Checks if the other index already fulfills all the indexing and constraint needs of the current one.
*
* @param
\Doctrine\DBAL\Schema\
Index $other
* @param Index $other
*
* @return boolean
*/
...
...
@@ -219,7 +220,7 @@ class Index extends AbstractAsset implements Constraint
/**
* Detects if the other index is a non-unique, non primary index that can be overwritten by this one.
*
* @param
\Doctrine\DBAL\Schema\
Index $other
* @param Index $other
*
* @return boolean
*/
...
...
@@ -241,7 +242,7 @@ class Index extends AbstractAsset implements Constraint
/**
* Returns platform specific flags for indexes.
*
* @return
array
* @return
string[]
*/
public
function
getFlags
()
{
...
...
@@ -255,7 +256,7 @@ class Index extends AbstractAsset implements Constraint
*
* @param string $flag
*
* @return
\Doctrine\DBAL\Schema\
Index
* @return Index
*/
public
function
addFlag
(
$flag
)
{
...
...
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