name = $header['hotfix']; $this->author = $header['author']; $this->info = $header['info']; $this->language = $header['lang']; if (array_key_exists('for', $header)) { $this->requirements = $header['for']; } } public function getName() { return $this->name; } public function getAuthor() { return $this->author; } public function getInfo() { return $this->info; } public function getLanguage() { return $this->language; } public function getRequirements() { return $this->requirements; } }