public static function parseFontAwesomeIcon(array $args) {

        $icon = static::newFontAwesomeIcon();

        $icon->setName(ArrayHelper::get($args, "name", "home"));
        $icon->setStyle(ArrayHelper::get($args, "style"));

        $icon->setAnimation(ArrayHelper::get($args, "animation"));
        $icon->setBordered(ArrayHelper::get($args, "bordered", false));
        $icon->setFixedWidth(ArrayHelper::get($args, "fixedWidth", false));
        $icon->setFont(ArrayHelper::get($args, "font"));
        $icon->setPull(ArrayHelper::get($args, "pull"));
        $icon->setSize(ArrayHelper::get($args, "size"));

        return $icon;
    }
public static function parseFontAwesomeIcon(array $args) {

        $icon = static::newFontAwesomeIcon();

        $icon->setName(ArrayHelper::get($args, "name", "home"));
        $icon->setStyle(ArrayHelper::get($args, "style"));

        $icon->setAnimation(ArrayHelper::get($args, "animation"));
        $icon->setBordered(ArrayHelper::get($args, "bordered", false));
        $icon->setFixedWidth(ArrayHelper::get($args, "fixedWidth", false));
        $icon->setFont(ArrayHelper::get($args, "font"));
        $icon->setPull(ArrayHelper::get($args, "pull"));
        $icon->setSize(ArrayHelper::get($args, "size"));

        return $icon;
    }
public static function parseFontAwesomeIcon ( array $ args ) { $ icon = static :: newFontAwesomeIcon ( ) ; $ icon -> setName ( ArrayHelper :: get ( $ args , "name" , "home" ) ) ; $ icon -> setStyle ( ArrayHelper :: get ( $ args , "style" ) ) ; $ icon -> setAnimation ( ArrayHelper :: get ( $ args , "animation" ) ) ; $ icon -> setBordered ( ArrayHelper :: get ( $ args , "bordered" , false ) ) ; $ icon -> setFixedWidth ( ArrayHelper :: get ( $ args , "fixedWidth" , false ) ) ; $ icon -> setFont ( ArrayHelper :: get ( $ args , "font" ) ) ; $ icon -> setPull ( ArrayHelper :: get ( $ args , "pull" ) ) ; $ icon -> setSize ( ArrayHelper :: get ( $ args , "size" ) ) ; return $ icon ; }
Parses a Font Awesome icon.

@param array $args The arguments.
@return FontAwesomeIconInterface Returns the parsed Font Awesome icon.
Parses a Font Awesome icon .