PATH:
home
/
lab2454c
/
vaultchip.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
<?php namespace Illuminate\Routing; use Illuminate\Contracts\Debug\ExceptionHandler; use Illuminate\Contracts\Support\Responsable; use Illuminate\Http\Request; use Illuminate\Pipeline\Pipeline as BasePipeline; use Throwable; /** * This extended pipeline catches any exceptions that occur during each slice. * * The exceptions are converted to HTTP responses for proper middleware handling. */ class Pipeline extends BasePipeline { /** * Handles the value returned from each pipe before passing it to the next. * * @param mixed $carry * @return mixed */ protected function handleCarry($carry) { return $carry instanceof Responsable ? $carry->toResponse($this->getContainer()->make(Request::class)) : $carry; } /** * Handle the given exception. * * @param mixed $passable * @param \Throwable $e * @return mixed * * @throws \Throwable */ protected function handleException($passable, Throwable $e) { if (! $this->container->bound(ExceptionHandler::class) || ! $passable instanceof Request) { throw $e; } $handler = $this->container->make(ExceptionHandler::class); $handler->report($e); $response = $handler->render($passable, $e); if (is_object($response) && method_exists($response, 'withException')) { $response->withException($e); } return $response; } }
[+]
Exceptions
[-] ControllerDispatcher.php
[edit]
[-] RouteParameterBinder.php
[edit]
[-] composer.json
[edit]
[-] CompiledRouteCollection.php
[edit]
[-] ImplicitRouteBinding.php
[edit]
[-] RouteUri.php
[edit]
[-] RouteGroup.php
[edit]
[-] PendingResourceRegistration.php
[edit]
[+]
..
[-] Redirector.php
[edit]
[-] MiddlewareNameResolver.php
[edit]
[-] ViewController.php
[edit]
[-] Route.php
[edit]
[-] Pipeline.php
[edit]
[+]
Matching
[-] RouteSignatureParameters.php
[edit]
[-] RouteDependencyResolverTrait.php
[edit]
[-] CreatesRegularExpressionRouteConstraints.php
[edit]
[+]
Events
[-] ResourceRegistrar.php
[edit]
[-] RouteFileRegistrar.php
[edit]
[+]
Middleware
[-] Controller.php
[edit]
[-] RouteRegistrar.php
[edit]
[-] RouteUrlGenerator.php
[edit]
[-] LICENSE.md
[edit]
[+]
Contracts
[+]
Console
[-] ResponseFactory.php
[edit]
[-] SortedMiddleware.php
[edit]
[-] RoutingServiceProvider.php
[edit]
[-] UrlGenerator.php
[edit]
[-] AbstractRouteCollection.php
[edit]
[-] RouteBinding.php
[edit]
[-] RouteCollectionInterface.php
[edit]
[-] RedirectController.php
[edit]
[-] RouteCollection.php
[edit]
[-] RouteAction.php
[edit]
[-] Router.php
[edit]
[-] ControllerMiddlewareOptions.php
[edit]