<commit_before><?php
/**
 * FontAwesome.php
 * @author <NAME>
 * @link https://rmrevin.ru
 */

namespace rmrevin\yii\fontawesome;

use rmrevin\yii\fontawesome\component;

/**
 * Class FA
 * @package rmrevin\yii\fontawesome
 */
class FontAwesome
{

    /** @var string CSS Class prefix */
    public static $cssPrefix = 'fa';

    /**
     * @param string $name
     * @param array $options
     * @return component\Icon
     */
    public static function icon($name, $options = [])
    {
        return new component\Icon($name, $options);
    }

    /**
     * @param array $options<commit_msg>shortcut method `i()`<commit_after><?php
/**
 * FontAwesome.php
 * @author <NAME>
 * @link https://rmrevin.ru
 */

namespace rmrevin\yii\fontawesome;

use rmrevin\yii\fontawesome\component;

/**
 * Class FA
 * @package rmrevin\yii\fontawesome
 */
class FontAwesome
{

    /** @var string CSS Class prefix */
    public static $cssPrefix = 'fa';

    /**
     * Creates an `Icon'  component that can be used to FontAwesome html icon
     * 
     * @param string $name
     * @param array $options
     * @return component\Icon
     */
    public static function icon($name, $options = [])
    {
        return new component\Icon($name, $options);
    }

    /**
     * Shorcut for `icon()` static method
     * @see `icon()`
     */
    public static function i($name, $options)
    {
        return static::icon($name, $options);
    }
    /**
     * @param array $options
{'fraction_non_alphanumeric': 0.1465576005453306, 'fraction_numerical': 0.0, 'mean_word_length': 2.503579952267303, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3897034', 'n_tokens_mistral': 486, 'n_tokens_neox': 472, 'n_words': 118}