for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Samurai\Task;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
/**
* Class Application
* @package Samurai
* @author Raphaël Lefebvre <[email protected]>
*/
class Planner extends \ArrayObject implements ITask
{
* @param InputInterface $input
* @param OutputInterface $output
* @return bool
public function execute(InputInterface $input, OutputInterface $output)
$result = 0;
foreach($this as $task){
$result |= $task->execute($input, $output);
if($result & ITask::BLOCKING_ERROR_CODE){
return $result;
}