why does View::make() not exist in laravel docs? I have gone through on xVersion/views pages of all versions of Laravel docs, but I couldn't find any statement about View::make(). who can explain to me how it works?
additional info, I'm learning Aimeos Laravel package. I don't think View::make is from Aimeos packages. because, I see
composer.json
> "require": {
> "php": "^7.2.5",
> "aimeos/aimeos-laravel": "dev-master",
> "fideloper/proxy": "^4.2",
> "fruitcake/laravel-cors": "^2.0",
> "guzzlehttp/guzzle": "^6.3",
> "laravel/framework": "^7.24",
> "laravel/tinker": "^2.0",
> "laravel/ui": "^2.4"
> },
Many things in Laravel have multiple ways of referencing them.
The documentation prefers the use of the cleaner, less verbose view()
helper, but you can use View::make
if you prefer.
The API docs for View::make
are at https://laravel.com/api/8.x/Illuminate/Contracts/View/Factory.html#method_make.