private function decideIcon($name) { $name = mb_strtolower($name); if (!isset($this->mapIcons[$name])) { return null; } return $this->mapIcons[$name]; }