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
ea14ae06
Commit
ea14ae06
authored
Jul 28, 2017
by
Jean-Baptiste Noblot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Sharding/ Docs
parent
5cefa4d9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
10 deletions
+8
-10
PoolingShardManager.php
lib/Doctrine/DBAL/Sharding/PoolingShardManager.php
+4
-6
SQLAzureShardManager.php
lib/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureShardManager.php
+3
-3
ShardManager.php
lib/Doctrine/DBAL/Sharding/ShardManager.php
+1
-1
No files found.
lib/Doctrine/DBAL/Sharding/PoolingShardManager.php
View file @
ea14ae06
...
@@ -54,7 +54,7 @@ class PoolingShardManager implements ShardManager
...
@@ -54,7 +54,7 @@ class PoolingShardManager implements ShardManager
}
}
/**
/**
*
@return void
*
{@inheritDoc}
*/
*/
public
function
selectGlobal
()
public
function
selectGlobal
()
{
{
...
@@ -63,9 +63,7 @@ class PoolingShardManager implements ShardManager
...
@@ -63,9 +63,7 @@ class PoolingShardManager implements ShardManager
}
}
/**
/**
* @param string $distributionValue
* {@inheritDoc}
*
* @return void
*/
*/
public
function
selectShard
(
$distributionValue
)
public
function
selectShard
(
$distributionValue
)
{
{
...
@@ -75,7 +73,7 @@ class PoolingShardManager implements ShardManager
...
@@ -75,7 +73,7 @@ class PoolingShardManager implements ShardManager
}
}
/**
/**
*
@return string|null
*
{@inheritDoc}
*/
*/
public
function
getCurrentDistributionValue
()
public
function
getCurrentDistributionValue
()
{
{
...
@@ -83,7 +81,7 @@ class PoolingShardManager implements ShardManager
...
@@ -83,7 +81,7 @@ class PoolingShardManager implements ShardManager
}
}
/**
/**
*
@return array
*
{@inheritDoc}
*/
*/
public
function
getShards
()
public
function
getShards
()
{
{
...
...
lib/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureShardManager.php
View file @
ea14ae06
...
@@ -19,9 +19,9 @@
...
@@ -19,9 +19,9 @@
namespace
Doctrine\DBAL\Sharding\SQLAzure
;
namespace
Doctrine\DBAL\Sharding\SQLAzure
;
use
Doctrine\DBAL\Sharding\ShardManager
;
use
Doctrine\DBAL\Sharding\ShardingException
;
use
Doctrine\DBAL\Connection
;
use
Doctrine\DBAL\Connection
;
use
Doctrine\DBAL\Sharding\ShardingException
;
use
Doctrine\DBAL\Sharding\ShardManager
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\DBAL\Types\Type
;
/**
/**
...
@@ -57,7 +57,7 @@ class SQLAzureShardManager implements ShardManager
...
@@ -57,7 +57,7 @@ class SQLAzureShardManager implements ShardManager
private
$conn
;
private
$conn
;
/**
/**
* @var string
* @var string
|null
*/
*/
private
$currentDistributionValue
;
private
$currentDistributionValue
;
...
...
lib/Doctrine/DBAL/Sharding/ShardManager.php
View file @
ea14ae06
...
@@ -63,7 +63,7 @@ interface ShardManager
...
@@ -63,7 +63,7 @@ interface ShardManager
/**
/**
* Gets the distribution value currently used for sharding.
* Gets the distribution value currently used for sharding.
*
*
* @return string
* @return string
|null
*/
*/
function
getCurrentDistributionValue
();
function
getCurrentDistributionValue
();
...
...
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