protected function getTasks($container)
    {
        $tasks = [$task = $this->argument('task')];

        if ($macro = $container->getMacro($task)) {
            $tasks = $macro;
        }

        return $tasks;
    }
protected function getTasks($container)
    {
        $tasks = [$task = $this->argument('task')];

        if ($macro = $container->getMacro($task)) {
            $tasks = $macro;
        }

        return $tasks;
    }
protected function getTasks ( $ container ) { $ tasks = [ $ task = $ this -> argument ( 'task' ) ] ; if ( $ macro = $ container -> getMacro ( $ task ) ) { $ tasks = $ macro ; } return $ tasks ; }
Get the tasks from the container based on user input.

@param  \Laravel\Envoy\TaskContainer  $container
@return array
Get the tasks from the container based on user input .