Documentation

WorkManager
in package
implements ChunkWriterInterface

Interfaces, Classes and Traits

ChunkWriterInterface

Table of Contents

__construct()  : mixed
thenDo()  : self
thenWait()  : self
toChunks()  : Generator

Methods

__construct()

public __construct(int $treadCount) : mixed
Parameters
$treadCount : int
Return values
mixed

thenDo()

public thenDo(string $className[, array<string|int, mixed> $options = [] ]) : self
Parameters
$className : string
$options : array<string|int, mixed> = []
Return values
self

thenWait()

public thenWait() : self
Return values
self

toChunks()

public toChunks() : Generator
Return values
Generator

Search results