mirror of
https://github.com/flarum/framework.git
synced 2025-02-06 14:51:01 +08:00
Update laravel docs references to 8.x (#2788)
This commit is contained in:
parent
72e29a24b7
commit
72c7d3f49b
|
@ -42,7 +42,7 @@ class Event implements ExtenderInterface
|
|||
* Event subscribers are classes that may subscribe to multiple events from within the subscriber class itself,
|
||||
* allowing you to define several event handlers within a single class.
|
||||
*
|
||||
* @see https://laravel.com/docs/6.x/events#writing-event-subscribers
|
||||
* @see https://laravel.com/docs/8.x/events#writing-event-subscribers
|
||||
*
|
||||
* @param string $subscriber: The class attribute of the subscriber class
|
||||
*/
|
||||
|
|
|
@ -27,7 +27,7 @@ class View implements ExtenderInterface, LifecycleInterface
|
|||
*
|
||||
* Views can then be used in your extension by injecting an instance of `Illuminate\Contracts\View\Factory`,
|
||||
* and calling its `make` method. The `make` method takes the view parameter in the format NAMESPACE::VIEW_NAME.
|
||||
* You can also pass variables into a view: for more information, see https://laravel.com/api/6.x/Illuminate/View/Factory.html#method_make
|
||||
* You can also pass variables into a view: for more information, see https://laravel.com/api/8.x/Illuminate/View/Factory.html#method_make
|
||||
*
|
||||
* @param string $namespace: The name of the namespace.
|
||||
* @param string|array $hints: This is a path (or an array of paths) to the folder(s)
|
||||
|
|
|
@ -157,7 +157,7 @@ class Extension implements Arrayable
|
|||
/**
|
||||
* Dot notation getter for composer.json attributes.
|
||||
*
|
||||
* @see https://laravel.com/docs/5.1/helpers#arrays
|
||||
* @see https://laravel.com/docs/8.x/helpers#arrays
|
||||
*
|
||||
* @param $name
|
||||
* @return mixed
|
||||
|
|
Loading…
Reference in New Issue
Block a user