\ManaPHP\HelperSharding

Summary

Methods
Properties
Constants
divisorToFD()
explode()
modulo()
all()
multiple()
unique()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

divisorToFD()

divisorToFD(string  $divisor) : array

Parameters

string $divisor

Returns

array

explode()

explode(string  $str) : array

Parameters

string $str

Returns

array

modulo()

modulo(string  $strategy, array  $context) : array

Parameters

string $strategy
array $context

Returns

array

all()

all(string  $db, string  $table) : array

Parameters

string $db
string $table

Returns

array

multiple()

multiple(string  $db, string  $table, mixed  $context) : array

Parameters

string $db
string $table
mixed $context

Returns

array

unique()

unique(string  $db, string  $source, mixed  $context) : array

Parameters

string $db
string $source
mixed $context

Returns

array