public function getComparedRecords()
    {
        if (is_null($this->comparedRecords)
            || !$this->upToDate
        ) {
            $this->comparedRecords = $this->createComparedRecords();
            $this->upToDate = true;
        }

        return $this->comparedRecords;
    }
public function getComparedRecords()
    {
        if (is_null($this->comparedRecords)
            || !$this->upToDate
        ) {
            $this->comparedRecords = $this->createComparedRecords();
            $this->upToDate = true;
        }

        return $this->comparedRecords;
    }
public function getComparedRecords ( ) { if ( is_null ( $ this -> comparedRecords ) || ! $ this -> upToDate ) { $ this -> comparedRecords = $ this -> createComparedRecords ( ) ; $ this -> upToDate = true ; } return $ this -> comparedRecords ; }
Returns the records corresponding to the 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 the records corresponding to the IDs previously specified . If no IDs have been set there will be a warning raised and an empty result will be returned .