public canRunInContext ( GrumPHP\Task\Context\ContextInterface $context ) : boolean | ||
$context | GrumPHP\Task\Context\ContextInterface | |
return | boolean |
public function canRunInContext(ContextInterface $context);
public function let(TaskInterface $task1, TaskInterface $task2, ContextInterface $context) { $task1->canRunInContext($context)->willReturn(true); $task2->canRunInContext($context)->willReturn(true); $this->addTask($task1); $this->addTask($task2); }