PHP Interface Tolerance\Operation\Runner\OperationRunner

Mostrar archivo Open project: sroze/tolerance Interface Usage Examples

Public Methods

Method Description
run ( Tolerance\Operation\Operation $operation ) : mixed Run the given operation.
supports ( Tolerance\Operation\Operation $operation ) : boolean Returns true if the runner is able to run the operation.

Method Details

run() public method

Run the given operation.
public run ( Tolerance\Operation\Operation $operation ) : mixed
$operation Tolerance\Operation\Operation
return mixed

supports() public method

Returns true if the runner is able to run the operation.
public supports ( Tolerance\Operation\Operation $operation ) : boolean
$operation Tolerance\Operation\Operation
return boolean