public function Icon($cache = true) { require_once $this->App()->config("paths")['backend']['Icon']; require_once $this->App()->config("paths")['backend']['CacheWrapper']; $Icon = new Icon(function ($iconId) { return $this->getIcon($iconId); }); $Icon->setMissingIcon($this->App()->config("defaults")['icon']['missing']); if ($cache) { return new CacheWrapper($this->App()->config("paths")['cache'], $Icon); } else { return $Icon; } }