src/Build/Build.php
public function process($slot)
    {
        $tasks = $this->getTasksForSlot($slot);
        while ($tasks->valid()) {
            $task = $tasks->current();
            $this->log->info('Processing task: '.$task->getName());
            try {
                $task->process($this);
            } catch (Exception $e) {
                var_dump($e);
            }

            /*
             * The Post-Process continues on failure

            if ($slot != Slot::POST_PROCESS) {
                if ($this->getStatus() != BuildInterface::PASSED) {
                    $tasks->rewind();
                    break;
                }
            }
            */
            $tasks->next();
        }
        $tasks->rewind();
    }
public function process($slot)
    {
        $tasks = $this->getTasksForSlot($slot);
        while ($tasks->valid()) {
            $task = $tasks->current();
            $this->log->info('Processing task: '.$task->getName());
            try {
                $task->process($this);
            } catch (Exception $e) {
                var_dump($e);
            }

            /*
             * The Post-Process continues on failure

            if ($slot != Slot::POST_PROCESS) {
                if ($this->getStatus() != BuildInterface::PASSED) {
                    $tasks->rewind();
                    break;
                }
            }
            */
            $tasks->next();
        }
        $tasks->rewind();
    }
public function process ( $ slot ) { $ tasks = $ this -> getTasksForSlot ( $ slot ) ; while ( $ tasks -> valid ( ) ) { $ task = $ tasks -> current ( ) ; $ this -> log -> info ( 'Processing task: ' . $ task -> getName ( ) ) ; try { $ task -> process ( $ this ) ; } catch ( Exception $ e ) { var_dump ( $ e ) ; } /*
             * The Post-Process continues on failure

            if ($slot != Slot::POST_PROCESS) {
                if ($this->getStatus() != BuildInterface::PASSED) {
                    $tasks->rewind();
                    break;
                }
            }
            */ $ tasks -> next ( ) ; } $ tasks -> rewind ( ) ; }
processes the tasks that are registered for the slot.

@todo exception handling & maybe move to engine

@param mixed $slot
processes the tasks that are registered for the slot .