Skip to content

Commit b839bba

Browse files
committed
Update SemanticHtmlElementsTrait.php
1 parent 6d96d67 commit b839bba

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Ajax/semantic/traits/SemanticHtmlElementsTrait.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
use Ajax\semantic\html\elements\HtmlLabelGroups;
2525
use Ajax\common\html\BaseHtml;
2626
use Ajax\semantic\html\base\HtmlSemDoubleElement;
27+
use Ajax\semantic\html\elements\HtmlEmoji;
2728

2829
trait SemanticHtmlElementsTrait {
2930

@@ -234,4 +235,13 @@ public function htmlStep($identifier, $steps=array()) {
234235
public function htmlFlag($identifier, $flag) {
235236
return $this->addHtmlComponent(new HtmlFlag($identifier, $flag));
236237
}
238+
239+
/**
240+
* @param string $identifier
241+
* @param string $flag
242+
* @return HtmlEmoji
243+
*/
244+
public function htmlEmoji($identifier, $emoji) {
245+
return $this->addHtmlComponent(new HtmlEmoji($identifier, $emoji));
246+
}
237247
}

0 commit comments

Comments
 (0)