private function getIcons()
    {
        if (!empty($this->iconFont)) {
            $fonts = $this->getFonts();
            if (!empty($fonts) && isset($fonts[$this->iconFont])) {
                $font = Font::load($fonts[$this->iconFont]['path']);
                $font->parse();

                if ($font !== null) {
                    return $font->getUnicodeCharMap();
                }
            }
        }

        return null;
    }
private function getIcons()
    {
        if (!empty($this->iconFont)) {
            $fonts = $this->getFonts();
            if (!empty($fonts) && isset($fonts[$this->iconFont])) {
                $font = Font::load($fonts[$this->iconFont]['path']);
                $font->parse();

                if ($font !== null) {
                    return $font->getUnicodeCharMap();
                }
            }
        }

        return null;
    }
private function getIcons ( ) { if ( ! empty ( $ this -> iconFont ) ) { $ fonts = $ this -> getFonts ( ) ; if ( ! empty ( $ fonts ) && isset ( $ fonts [ $ this -> iconFont ] ) ) { $ font = Font :: load ( $ fonts [ $ this -> iconFont ] [ 'path' ] ) ; $ font -> parse ( ) ; if ( $ font !== null ) { return $ font -> getUnicodeCharMap ( ) ; } } } return null ; }
Load a font and get all unicode characters available in that font.

@return array|null
Load a font and get all unicode characters available in that font .