public function getCopyLeftAuthors($pathName)
    {
        $result = [];
        foreach ($this->copyLeft as $author => $paths) {
            if ($this->matchPatterns($pathName, $paths)) {
                $realAuthor                           = $this->getRealAuthor($this->copyLeftReal[$author]);
                $result[$this->arrayKey($realAuthor)] = $realAuthor;
            }
        }

        return $result;
    }
public function getCopyLeftAuthors($pathName)
    {
        $result = [];
        foreach ($this->copyLeft as $author => $paths) {
            if ($this->matchPatterns($pathName, $paths)) {
                $realAuthor                           = $this->getRealAuthor($this->copyLeftReal[$author]);
                $result[$this->arrayKey($realAuthor)] = $realAuthor;
            }
        }

        return $result;
    }
public function getCopyLeftAuthors ( $ pathName ) { $ result = [ ] ; foreach ( $ this -> copyLeft as $ author => $ paths ) { if ( $ this -> matchPatterns ( $ pathName , $ paths ) ) { $ realAuthor = $ this -> getRealAuthor ( $ this -> copyLeftReal [ $ author ] ) ; $ result [ $ this -> arrayKey ( $ realAuthor ) ] = $ realAuthor ; } } return $ result ; }
Obtain authors to be listed as copy-left contributor.

@param string $pathName The path to check.

@return string[]
Obtain authors to be listed as copy - left contributor .