RoundRobinDistributor
class RoundRobinDistributor implements Distributor
순차적으로 지정된 저장소마다 돌아가면서 저장시키는 방식으로 저장소를 지정
Properties
protected array | $config | filesystem config | |
protected VirtualConnectionInterface | $conn | database connection instance | |
protected string | $table | table name |
Methods
string
allot(File $file)
allot storage disk
array|null
lastRecord()
get last table record
string
next(string $name)
disk in the next
Details
at line 58
__construct(array $config, VirtualConnectionInterface $conn)
constructor
at line 70
string
allot(File $file)
allot storage disk
at line 85
private array|null
lastRecord()
get last table record
at line 98
private string
next(string $name)
disk in the next