view
<?php return view('auth.login');
<?php { (new RegisterErrorViewPaths)(); return view($this->option('render'), [ 'retryAfter' => $this->option('retry'), ])->render(); }
<?php { $view = 'errors::'.$e->getStatusCode(); if (view()->exists($view)) { return $view; }
<?php $view = substr($view, 0, -2).'xx'; if (view()->exists($view)) { return $view; }
<?php protected function view(string $view, $data = []) { return new TestView(view($view, $data)); }
<?php file_put_contents($tempFile, $template); return new TestView(view($tempFileInfo['filename'], $data)); }
<?php $view = $view instanceof View ? $view->with($component->data()) : view($view, $component->data()); return new TestComponent($component, $view); }
<?php public function render() { return view('alert'); } }