<?php namespace Illuminate\View; use ErrorException; use Illuminate\Container\Container; use Illuminate\Support\Reflector; class ViewException extends ErrorException { /** * Report the exception. * * @return bool|null */ public function report() { $exception = $this->getPrevious(); if (Reflector::isCallable($reportCallable = [$exception, 'report'])) { return Container::getInstance()->call($reportCallable); } return false; } /** * Render the exception into an HTTP response. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response|null */ public function render($request) { $exception = $this->getPrevious(); if ($exception && method_exists($exception, 'render')) { return $exception->render($request); } } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Compilers | Folder | 0755 |
|
|
Concerns | Folder | 0755 |
|
|
Engines | Folder | 0755 |
|
|
Middleware | Folder | 0755 |
|
|
AnonymousComponent.php | File | 1.14 KB | 0644 |
|
AppendableAttributeValue.php | File | 520 B | 0644 |
|
Component.php | File | 11.65 KB | 0644 |
|
ComponentAttributeBag.php | File | 11 KB | 0644 |
|
ComponentSlot.php | File | 1.56 KB | 0644 |
|
DynamicComponent.php | File | 4.66 KB | 0644 |
|
Factory.php | File | 14.62 KB | 0644 |
|
FileViewFinder.php | File | 7.09 KB | 0644 |
|
InvokableComponentVariable.php | File | 1.98 KB | 0644 |
|
LICENSE.md | File | 1.05 KB | 0644 |
|
View.php | File | 10.88 KB | 0644 |
|
ViewException.php | File | 903 B | 0644 |
|
ViewFinderInterface.php | File | 1.42 KB | 0644 |
|
ViewName.php | File | 521 B | 0644 |
|
ViewServiceProvider.php | File | 5.11 KB | 0644 |
|
composer.json | File | 1.02 KB | 0644 |
|