pharext\SourceDir\Git::getLicense PHP Method

getLicense() public method

public getLicense ( ) : string
return string
    public function getLicense()
    {
        if ($file = $this->findLicense($this->getBaseDir())) {
            return $this->readLicense($file);
        }
        return "UNKNOWN";
    }