public function needsReload()
    {
        if ($this->reload) {
            return true;
        }

        // will reload tld list if timestamp of cache file is outdated
        if (time() - $this->tldList['timestamp'] > $this->cacheTime) {
            return true;
        }

        // will reload tld list if changes to Additional.php have been made
        if ($this->tldList['timestamp'] < filemtime(__DIR__ .'/Additional.php')) {
            return true;
        }

        return false;
    }
public function needsReload()
    {
        if ($this->reload) {
            return true;
        }

        // will reload tld list if timestamp of cache file is outdated
        if (time() - $this->tldList['timestamp'] > $this->cacheTime) {
            return true;
        }

        // will reload tld list if changes to Additional.php have been made
        if ($this->tldList['timestamp'] < filemtime(__DIR__ .'/Additional.php')) {
            return true;
        }

        return false;
    }
public function needsReload ( ) { if ( $ this -> reload ) { return true ; } // will reload tld list if timestamp of cache file is outdated if ( time ( ) - $ this -> tldList [ 'timestamp' ] > $ this -> cacheTime ) { return true ; } // will reload tld list if changes to Additional.php have been made if ( $ this -> tldList [ 'timestamp' ] < filemtime ( __DIR__ . '/Additional.php' ) ) { return true ; } return false ; }
Checks if the list of TLDs needs or should be reloaded.

@return boolean
Checks if the list of TLDs needs or should be reloaded .