public function getSimilarRecords()
    {
        if (is_null($this->similarRecords)
            || !$this->upToDate
        ) {
            $this->request->resetLoaded();
            $this->similarRecords = $this->createSimilarRecords();
            $this->upToDate = true;
        }

        return $this->similarRecords;
    }
public function getSimilarRecords()
    {
        if (is_null($this->similarRecords)
            || !$this->upToDate
        ) {
            $this->request->resetLoaded();
            $this->similarRecords = $this->createSimilarRecords();
            $this->upToDate = true;
        }

        return $this->similarRecords;
    }
public function getSimilarRecords ( ) { if ( is_null ( $ this -> similarRecords ) || ! $ this -> upToDate ) { $ this -> request -> resetLoaded ( ) ; $ this -> similarRecords = $ this -> createSimilarRecords ( ) ; $ this -> upToDate = true ; } return $ this -> similarRecords ; }
Returns similar records for the ID previously specified. If no ID has
been set, there will be a warning raised and an empty result will be
returned.

@return \FACTFinder\Data\Result
Returns similar records for the ID previously specified . If no ID has been set there will be a warning raised and an empty result will be returned .