So, using \Phalcon\Tag::tagHtml('li', ['class'=>'breadcrumb-item'], true, true) I get an empty html li tag. How do I set its content?
maybe (where third parameter, selfClose, of tagHtml is set to false):
<?php echo \Phalcon\Tag::tagHtml('li', ['class'=>'breadcrumb-item'], false, true, true); ?>
my content here
<?php echo Phalcon\Tag::tagHtmlClose("li", true); ?>
I was building an array of tags to build the output later so your solution doesn't actually help me
you can build your own helper: https://docs.phalconphp.com/en/latest/reference/tags.html#creating-your-own-helpers