public function get_results() {
        if (!is_null($this->plan)) {
            return $this->plan->get_results();
        } else {
            debugging('Attempting to get results of a task not binded with a plan', DEBUG_DEVELOPER);
            return null;
        }
    }
public function get_results() {
        if (!is_null($this->plan)) {
            return $this->plan->get_results();
        } else {
            debugging('Attempting to get results of a task not binded with a plan', DEBUG_DEVELOPER);
            return null;
        }
    }
public function get_results ( ) { if ( ! is_null ( $ this -> plan ) ) { return $ this -> plan -> get_results ( ) ; } else { debugging ( 'Attempting to get results of a task not binded with a plan' , DEBUG_DEVELOPER ) ; return null ; } }
Return the current plan's results

@return array|null
Return the current plan s results