The view function retrieves a view instance:
<?php return view('auth.login');
<?php     public function show()

    {

        return view('statamic::auth.protect.password');

    }



    public function store()
<?php     public function showResetForm(Request $request, $token = null)

    {

        return view('auth.passwords.reset')->with(

            ['token' => $token, 'email' => $request->email]

        );

    }
<?php     public function showLinkRequestForm()

    {

        return view('auth.passwords.email');

    }
<?php             return response()->view('statamic::errors.404', [], 404);

        }



        if (view()->exists('errors.404')) {

            return response($this->contents(), 404);

        }

    }
<?php         ]);



        return $layouts->filter()->first(function ($layout) {

            return view()->exists($layout);

        });

    }

}
<?php     {

        $default = 'statamic::forms.fields.'.$this->handle();



        return view()->exists($default)

            ? $default

            : 'statamic::forms.fields.default';

    }
<?php             return "Error: Form [$handle] doesn't exist.";

        }



        return view('statamic::forms.widget', [

            'form'        => $form,

            'format'      => $this->config('date_format', $form->dateFormat()),

            'fields'      => $this->config('fields', []),

            'submissions' => collect($form->submissions())->reverse()->take((int) $this->config('limit', 5))->toArray(),

            'title'       => $this->config('title', $form->title()),

        ]);

    }

}
<?php     public function index()

    {

        return view('statamic::addons.index', [

            'title' => __('Addons'),

            'addonCount' => Addon::all()->count(),

        ]);

    }



    public function install(Request $request)
<?php     {

        $blueprint = $container->blueprint();



        return view('statamic::assets.containers.blueprints.edit', [

            'container' => $container,

            'blueprint' => $blueprint,

            'blueprintVueObject' => $this->toVueObject($blueprint),

        ]);

    }



    public function update(Request $request, $container)
<?php             return $containers;

        }



        return view('statamic::assets.containers.index', [

            'containers' => $containers->all(),

            'columns' => ['title'],

            'visibleColumns' => ['title'],

        ]);

    }



    public function edit($container)
<?php             ->addValues($values)

            ->preProcess();



        return view('statamic::assets.containers.edit', [

            'blueprint' => $blueprint->toPublishArray(),

            'values' => $fields->values(),

            'meta' => $fields->meta(),

            'container' => $container,

        ]);

    }



    public function update(Request $request, $container)
<?php             'disk' => $this->disks()->first(),

        ]);



        return view('statamic::assets.containers.create', [

            'blueprint' => $blueprint->toPublishArray(),

            'values' => $values,

            'meta' => $fields->meta(),

        ]);

    }



    public function store(Request $request)
<?php         $this->redirectToFirstContainer();



        if (User::current()->can('create', AssetContainerContract::class)) {

            return view('statamic::assets.index');

        }



        throw new AuthorizationException;
<?php     {

        $this->authorize('view', $container);



        return view('statamic::assets.browse', [

            'container' => [

                'id' => $container->id(),

                'title' => $container->title(),

                'edit_url' => $container->editUrl(),

                'delete_url' => $container->deleteUrl(),

                'blueprint_url' => cp_route('asset-containers.blueprint.edit', $container->handle()),

                'can_edit' => User::current()->can('edit', $container),

                'can_delete' => User::current()->can('delete', $container),

            ],

            'folder' => $path,

        ]);

    }



    public function edit($container, $path)
<?php         $this->authorize('view', $asset);



        return view('statamic::assets.browse', [

            'container' => [

                'id' => $container->id(),

                'title' => $container->title(),

                'edit_url' => $container->editUrl(),

            ],

            'folder' => $asset->folder(),

            'editing' => $asset->id(),

        ]);

    }



    public function folder(Request $request, $container, $path = '/')