public function getTaskList()
    {
        $tasks = $this->loader->loadTasks();

        return array_map(function (Task $task) {
            return $task->getName();
        }, $tasks);
    }
public function getTaskList()
    {
        $tasks = $this->loader->loadTasks();

        return array_map(function (Task $task) {
            return $task->getName();
        }, $tasks);
    }
public function getTaskList ( ) { $ tasks = $ this -> loader -> loadTasks ( ) ; return array_map ( function ( Task $ task ) { return $ task -> getName ( ) ; } , $ tasks ) ; }
Returns the list of the task names.

@return string[]
Returns the list of the task names .