icon() public static method
Composes icon HTML for bootstrap Glyphicons. See also http://getbootstrap.com/components/#glyphicons.
public static string icon ( $name, $options = [] )$name string
Icon short name, for example: 'star' $options array
The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. There are also a special options: tag: string, tag to be rendered, by default 'span' is used. prefix: string, prefix which should be use