public faIcon ( $icon, $options = [] ) | ||
$icon | Name of the icon. |
public function faIcon($icon, $options = [])
{
$options = $this->addClass($options, 'fa');
$options = $this->addClass($options, 'fa-' . $icon);
$options += ['aria-hidden' => 'true'];
return $this->tag('i', '', $options);
}