Esempio n. 1
0
 /**
  * @return array
  */
 protected function getHome() : array
 {
     return [$this->addBreadcrumb('Home', $this->registry->get('url')->url('default'))];
 }
Esempio n. 2
0
 public function loadAdminExtensionThemeFile(string $fileName = '')
 {
     $extension = ucfirst($this->registry->get('http')->router->group());
     $this->registry->get('view')->loadFile("../../admin/extensions/{$extension}/{$fileName}");
 }