如何直接使用 https://laravel.com/API/5.5/index.html 里面的 API?
在Laravel官方文档中: https://laravel.com/api/5.5/index.html 里面有很多类,里面对每个方法都有解释。
但是,我却不知道如何能直接调用这些API的方法。
例如:
在 api 手册中有 Illuminate/View/View 这个类,里面有
string renderContents()
Get the contents of the view instance.
string getContents()
Get the evaluated contents of the view.
array gatherData()
Get the data bound to the view instance.
这些方法,但是却无法使用
推荐文章: