urlGenerator = $urlGenerator; $this->l = $l; } /** * returns the relative path to an 16*16 icon describing the section. */ public function getIcon(): string { return $this->urlGenerator->imagePath(Application::APP_ID, 'app.svg'); } /** * returns the ID of the section. It is supposed to be a lower case string,. */ public function getID(): string { return Application::APP_ID; } /** * returns the translated name as it should be displayed. */ public function getName(): string { return $this->l->t('EPUB/CBZ/PDF ebook reader'); } /** * returns priority for positioning. */ public function getPriority(): int { return 20; } }