public function get()
    {
        $encoded_results = json_encode($this->results);

        // Clear results by resetting ID counter and results' container
        $this->results = [];
        $this->id_result = 0;

        return $encoded_results;
    }
public function get()
    {
        $encoded_results = json_encode($this->results);

        // Clear results by resetting ID counter and results' container
        $this->results = [];
        $this->id_result = 0;

        return $encoded_results;
    }
public function get ( ) { $ encoded_results = json_encode ( $ this -> results ) ; // Clear results by resetting ID counter and results' container $ this -> results = [ ] ; $ this -> id_result = 0 ; return $ encoded_results ; }
\brief Get all results created.
@return string JSON string containing the results.
\ brief Get all results created .