src/Rocketeer/Services/Builders/Modules/TasksBuilder.php
public function buildTaskFromString($task)
    {
        $closure = $this->wrapStringTasks($task);

        return $this->buildTaskFromClosure($closure, $task);
    }
public function buildTaskFromString($task)
    {
        $closure = $this->wrapStringTasks($task);

        return $this->buildTaskFromClosure($closure, $task);
    }
public function buildTaskFromString ( $ task ) { $ closure = $ this -> wrapStringTasks ( $ task ) ; return $ this -> buildTaskFromClosure ( $ closure , $ task ) ; }
Build a task from a string.

@param string|string[] $task

@return AbstractTask
Build a task from a string .