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