我刚刚将Laravel从5.0升级到5.1.
我得到这个错误:
Call to undefined method Illuminate\Foundation\Application::bindShared()
So after some searching I need to change bindShared to a singleton.
I can do this in vendor/illuminate/html/HtmlServiceProvider.php
The issue is, what happens when another dev works on the project and performs a composer install, or I deploy to a server.
如何将更改保存到供应商文件夹中的文件?