public function all() {

        foreach ( $this->tasks as $task => $option ) {
            $task = $this->taskClassname($task);
            $this->$task->all();
        }
    }
public function all() {

        foreach ( $this->tasks as $task => $option ) {
            $task = $this->taskClassname($task);
            $this->$task->all();
        }
    }
public function all ( ) { foreach ( $ this -> tasks as $ task => $ option ) { $ task = $ this -> taskClassname ( $ task ) ; $ this -> $ task -> all ( ) ; } }
Execute all tasks
Execute all tasks