public function isCopyLeftAuthor($author, $pathName)
    {
        $key = $this->arrayKey($author);
        if (!isset($this->copyLeft[$key])) {
            return false;
        }

        return (bool) $this->matchPatterns($pathName, $this->copyLeft[$key]);
    }
public function isCopyLeftAuthor($author, $pathName)
    {
        $key = $this->arrayKey($author);
        if (!isset($this->copyLeft[$key])) {
            return false;
        }

        return (bool) $this->matchPatterns($pathName, $this->copyLeft[$key]);
    }
public function isCopyLeftAuthor ( $ author , $ pathName ) { $ key = $ this -> arrayKey ( $ author ) ; if ( ! isset ( $ this -> copyLeft [ $ key ] ) ) { return false ; } return ( bool ) $ this -> matchPatterns ( $ pathName , $ this -> copyLeft [ $ key ] ) ; }
Check if an author is listed as copy-left contributor.

@param string $author   The author to check.
@param string $pathName The path to check.

@return bool
Check if an author is listed as copy - left contributor .