public function beforeStage($stage, $tasks, Application $application = null)
    {
        $this->addTaskToStage($tasks, $stage, $application, 'before');

        return $this;
    }
public function beforeStage($stage, $tasks, Application $application = null)
    {
        $this->addTaskToStage($tasks, $stage, $application, 'before');

        return $this;
    }
public function beforeStage ( $ stage , $ tasks , Application $ application = null ) { $ this -> addTaskToStage ( $ tasks , $ stage , $ application , 'before' ) ; return $ this ; }
Add tasks that shall be executed before the given stage

@param string $stage
@param array|string $tasks
@param \TYPO3\Surf\Domain\Model\Application $application

@return \TYPO3\Surf\Domain\Model\Workflow
Add tasks that shall be executed before the given stage