PHP Class ApaiIO\Operations\Batch

Inheritance: implements ApaiIO\Operations\OperationInterface
Datei anzeigen Open project: exeu/apai-io Class Usage Examples

Public Methods

Method Description
__construct ( array $operations = [] ) Batch constructor.
addOperation ( ApaiIO\Operations\OperationInterface $operation ) : void Adds a single operation.
getName ( )
getOperationParameter ( )

Method Details

__construct() public method

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

addOperation() public method

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
return void

getName() public method

public getName ( )

getOperationParameter() public method