public function getRecommendations()
    {
        if (is_null($this->recommendations)
            || !$this->upToDate
        ) {
            $this->request->resetLoaded();
            $this->recommendations = $this->createRecommendations();
            $this->upToDate = true;
        }

        return $this->recommendations;
    }
public function getRecommendations()
    {
        if (is_null($this->recommendations)
            || !$this->upToDate
        ) {
            $this->request->resetLoaded();
            $this->recommendations = $this->createRecommendations();
            $this->upToDate = true;
        }

        return $this->recommendations;
    }
public function getRecommendations ( ) { if ( is_null ( $ this -> recommendations ) || ! $ this -> upToDate ) { $ this -> request -> resetLoaded ( ) ; $ this -> recommendations = $ this -> createRecommendations ( ) ; $ this -> upToDate = true ; } return $ this -> recommendations ; }
Returns recommendations for IDs previously specified. If no IDs have been
set, there will be a warning raised and an empty result will be returned.

@return \FACTFinder\Data\Result
Returns recommendations for IDs previously specified . If no IDs have been set there will be a warning raised and an empty result will be returned .