-
4 votesanswersviews
Laravel:外墙和别名之间的区别
美好的一天! 我读的越多,我对此就越感到困惑 . Facade和Aliases有什么区别? 我有这个班: /app/libraries/Project/Data.php namespace PJ; class Data { // It is much like a data container, with static methods and properties for savin... -
1 votesanswersviews
在laravel文档api中查看每个外观的所有可用功能的位置?
我知道外墙是如何工作的,我可以在Laravel找到完整的门面清单:https://laravel.com/api/5.2/Illuminate/Support/Facades.html 但是我怎样才能看到每个立面的所有可用功能? 如果我使用 Session Facade我可以: 在laravel文档中查找方法 - https://laravel.com/docs/5.2/session ... -
2 votesanswersviews
如何扩展Laravel Storage外观?
根据我的PHP知识,在不知道Laravel外观如何工作的情况下,我尝试扩展Storage facade以添加一些新功能 . I have this code: class MyStorageFacade extends Facade { /** * Get the binding in the IoC container * * @return string ... -
0 votesanswersviews
Laravel 5 - 使用表单外观更新时出错
我试图使用laravel中的表单外观更新用户对象,提交后我得到错误: ErrorException in Grammar.php line 102: Argument 1 passed to Illuminate\Database\Grammar::columnize() must be of the type array, string given, called in C:\Laravel...