ApaiIO\Operations\Batch::__construct PHP Метод

__construct() публичный метод

Batch constructor.
public __construct ( array $operations = [] )
$operations array
    public function __construct(array $operations = [])
    {
        foreach ($operations as $operation) {
            $this->addOperation($operation);
        }
    }