1 | <?php |
||
18 | class Stack |
||
19 | { |
||
20 | |||
21 | /** |
||
22 | * @deprecated |
||
23 | * @var string |
||
24 | */ |
||
25 | public static $defaultTag = 'span'; |
||
26 | |||
27 | /** |
||
28 | * @deprecated |
||
29 | * @var string |
||
30 | */ |
||
31 | private $tag; |
||
32 | |||
33 | /** |
||
34 | * @var array |
||
35 | */ |
||
36 | private $options = []; |
||
37 | |||
38 | /** |
||
39 | * @var Icon |
||
40 | */ |
||
41 | private $icon_front; |
||
42 | |||
43 | /** |
||
44 | * @var Icon |
||
45 | */ |
||
46 | private $icon_back; |
||
47 | |||
48 | /** |
||
49 | * @param array $options |
||
50 | */ |
||
51 | 3 | public function __construct($options = []) |
|
57 | |||
58 | /** |
||
59 | * @return string |
||
60 | */ |
||
61 | 2 | public function __toString() |
|
81 | |||
82 | /** |
||
83 | * @param string|Icon $icon |
||
84 | * @param array $options |
||
85 | * @return self |
||
86 | */ |
||
87 | 2 | public function icon($icon, $options = []) |
|
97 | |||
98 | /** |
||
99 | * @param string|Icon $icon |
||
100 | * @param array $options |
||
101 | * @return self |
||
102 | */ |
||
103 | 2 | public function on($icon, $options = []) |
|
113 | |||
114 | /** |
||
115 | * @deprecated |
||
116 | * Change html tag. |
||
117 | * @param string $tag |
||
118 | * @return static |
||
119 | * @throws \yii\base\InvalidParamException |
||
120 | */ |
||
121 | 1 | public function tag($tag) |
|
129 | |||
130 | /** |
||
131 | * @deprecated |
||
132 | * @param string|null $tag |
||
133 | * @param array $options |
||
134 | * @return string |
||
135 | * @throws \yii\base\InvalidConfigException |
||
136 | */ |
||
137 | public function render($tag = null, $options = []) |
||
161 | } |
||
162 |
This property has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.