class Processor implements ProcessorInterface (View source)

Properties

protected $target
protected $tasks

Methods

__construct(TargetInterface $target)

No description

registerTask(TaskInterface $task, $priority)

No description

execute(ActionInterface $action)

No description

finish()

No description

getTasks()

No description

getTotalTasks()

No description

process()

No description

Details

__construct(TargetInterface $target)

Parameters

TargetInterface $target

registerTask(TaskInterface $task, $priority)

Parameters

TaskInterface $task
$priority

execute(ActionInterface $action)

Parameters

ActionInterface $action

finish()

getTasks()

getTotalTasks()

process()