为什么出错,我尝试使用宏
已经加入
"Require": {
"Illuminate / html": "4.2. *"
}
然后它也被添加
'Illuminate\html\HtmlServiceProvider'
和别名:
'Form' => 'Illuminate\html\FormFacade',
'HTML' => 'Illuminate\Html\HtmlFacade'
但仍然是同样的错误
我的宏:app/helpers/frontend.php
HTML :: macro ('divider', function () {
return "<hr class = \" uk-article-divider \ ">";
});
并且已经加载:
app_path require (). '/ helpers / frontend.php';
感谢帮助