src/Models/ApiObject.php
public function isOutdated()
    {
        if ($this->Fetched) {
            $fetched = new \DateTime($this->Fetched);
            $now = new \DateTime("now");
            $diff = $now->getTimestamp() - $fetched->getTimestamp();
            if ($diff > Client::getRefreshRate()) {
                return true;
            }
            return false;
        }

        return true;
    }
public function isOutdated()
    {
        if ($this->Fetched) {
            $fetched = new \DateTime($this->Fetched);
            $now = new \DateTime("now");
            $diff = $now->getTimestamp() - $fetched->getTimestamp();
            if ($diff > Client::getRefreshRate()) {
                return true;
            }
            return false;
        }

        return true;
    }
public function isOutdated ( ) { if ( $ this -> Fetched ) { $ fetched = new \ DateTime ( $ this -> Fetched ) ; $ now = new \ DateTime ( "now" ) ; $ diff = $ now -> getTimestamp ( ) - $ fetched -> getTimestamp ( ) ; if ( $ diff > Client :: getRefreshRate ( ) ) { return true ; } return false ; } return true ; }
Determines if the object is outdated

@return boolean
Determines if the object is outdated