CallableTask
class CallableTask implements TaskInterface (View source)
Creates a task wrapper that converts any Callable into an object that can be used directly with a task collection.
It is not necessary to use this class directly; Collection will automatically wrap Callables when they are added.
Properties
protected callable | $fn | ||
protected TaskInterface | $reference |
Methods
Details
__construct(callable $fn, TaskInterface $reference)
No description
Result
run()
No description
Data
getState()
No description