Route::view() の実装は以下のようになってますよ。
php
1<?php
3namespace Illuminate\Routing;
5use ArrayObject;
6use Closure;
7use Illuminate\Container\Container;
8use Illuminate\Contracts\Events\Dispatcher;
9use Illuminate\Contracts\Routing\BindingRegistrar;
10use Illuminate\Contracts\Routing\Registrar as RegistrarContract;
11use Illuminate\Contracts\Support\Arrayable;
12use Illuminate\Contracts\Support\Jsonable;
13use Illuminate\Contracts\Support\Responsable;
14use Illuminate\Database\Eloquent\Model;
15use Illuminate\Http\JsonResponse;
16use Illuminate\Http\Request;
17use Illuminate\Http\Response;
18use Illuminate\Routing\Events\RouteMatched;
19use Illuminate\Support\Collection;
20use Illuminate\Support\Str;
21use Illuminate\Support\Traits\Macroable;
22use JsonSerializable;
23use Psr\Http\Message\ResponseInterface as PsrResponseInterface;
24use Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory;
25use Symfony\Component\HttpFoundation\Response as SymfonyResponse;
272829
30class Router implements BindingRegistrar, RegistrarContract
31{
32 3536373839
40 public function view($uri, $view, $data = [])
41 {
42 return $this->match(['GET', 'HEAD'], $uri, '\Illuminate\Routing\ViewController')
43 ->defaults('view', $view)
44 ->defaults('data', $data);
45 }
46}
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2020/09/04 10:27
2020/09/04 10:32
退会済みユーザー
2020/09/04 10:59
2020/09/04 11:05
退会済みユーザー
2020/09/04 13:23
退会済みユーザー
2020/09/04 13:24
2020/09/05 03:48
退会済みユーザー
2020/09/05 16:19
2020/09/05 17:12
退会済みユーザー
2020/09/06 07:26