src/PublicSuffixList.php
protected function readCachedPSL($url)
    {
        $cacheFile = $this->getCacheFileName($url);
        if (file_exists($cacheFile)) {
            $cachedTree = file_get_contents($cacheFile);
            return unserialize($cachedTree);
        }
        return false;
    }
protected function readCachedPSL($url)
    {
        $cacheFile = $this->getCacheFileName($url);
        if (file_exists($cacheFile)) {
            $cachedTree = file_get_contents($cacheFile);
            return unserialize($cachedTree);
        }
        return false;
    }
protected function readCachedPSL ( $ url ) { $ cacheFile = $ this -> getCacheFileName ( $ url ) ; if ( file_exists ( $ cacheFile ) ) { $ cachedTree = file_get_contents ( $ cacheFile ) ; return unserialize ( $ cachedTree ) ; } return false ; }
Attempt to load a cached Public Suffix List tree for a given source

@param string $url URL/filename of source PSL

@return bool|string[] PSL tree
Attempt to load a cached Public Suffix List tree for a given source