PHP Class rmrevin\yii\fontawesome\component\Stack

Datei anzeigen Open project: rmrevin/yii2-fontawesome

Public Properties

Property Type Description
$defaultTag string

Public Methods

Method Description
__construct ( array $options = [] )
__toString ( ) : string
icon ( string | Icon $icon, array $options = [] ) : self
on ( string | Icon $icon, array $options = [] ) : self
render ( string | null $tag = null, array $options = [] ) : string
tag ( string $tag ) : static

Method Details

__construct() public method

public __construct ( array $options = [] )
$options array

__toString() public method

public __toString ( ) : string
return string

icon() public method

public icon ( string | Icon $icon, array $options = [] ) : self
$icon string | Icon
$options array
return self

on() public method

public on ( string | Icon $icon, array $options = [] ) : self
$icon string | Icon
$options array
return self

render() public method

Deprecation:
public render ( string | null $tag = null, array $options = [] ) : string
$tag string | null
$options array
return string

tag() public method

Deprecation: Change html tag.
public tag ( string $tag ) : static
$tag string
return static

Property Details

$defaultTag public_oe static_oe property

Deprecation:
public static string $defaultTag
return string