private decideIcon ( $name ) : null | string | ||
$name | ||
Результат | null | string |
private function decideIcon($name)
{
$name = mb_strtolower($name);
if (!isset($this->mapIcons[$name])) {
return null;
}
return $this->mapIcons[$name];
}