src/PublicSuffixList.php
protected function setLocalPSLName($url)
    {
        if (null === $url) {
            $url = $this->sourceURL;
        }
        $parts = parse_url($url);
        $fileName = basename($parts['path']);
        $this->localPSL = $this->dataDir . $fileName;
    }
protected function setLocalPSLName($url)
    {
        if (null === $url) {
            $url = $this->sourceURL;
        }
        $parts = parse_url($url);
        $fileName = basename($parts['path']);
        $this->localPSL = $this->dataDir . $fileName;
    }
protected function setLocalPSLName ( $ url ) { if ( null === $ url ) { $ url = $ this -> sourceURL ; } $ parts = parse_url ( $ url ) ; $ fileName = basename ( $ parts [ 'path' ] ) ; $ this -> localPSL = $ this -> dataDir . $ fileName ; }
Set localPSL name based on URL

@param null|string $url the URL for the PSL

@return void (sets $this->localPSL)
Set localPSL name based on URL