PHP Класс ApaiIO\Operations\Batch

Наследование: implements ApaiIO\Operations\OperationInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( array $operations = [] ) Batch constructor.
addOperation ( ApaiIO\Operations\OperationInterface $operation ) : void Adds a single operation.
getName ( )
getOperationParameter ( )

Описание методов

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

Batch constructor.
public __construct ( array $operations = [] )
$operations array

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

Note that only operations with the same operation name can be added. First operation which is added will be the reference and the instance will let you only add other operations with the same operation name.
public addOperation ( ApaiIO\Operations\OperationInterface $operation ) : void
$operation ApaiIO\Operations\OperationInterface
Результат void

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

public getName ( )

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