. */ namespace Doctrine\DBAL\Sharding\ShardChoser; use Doctrine\DBAL\Sharding\PoolingShardConnection; /** * The MultiTenant Shard choser assumes that the distribution value directly * maps to the shard id. * * @author Benjamin Eberlei */ class MultiTenantShardChoser implements ShardChoser { public function pickShard($distributionValue, PoolingShardConnection $conn) { return $distributionValue; } }