X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/vendor/laravel/framework/src/Illuminate/Routing
home
/
prisjneg
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
📁
..
📄
AbstractRouteCollection.php
(8.52 KB)
📄
CallableDispatcher.php
(1.34 KB)
📄
CompiledRouteCollection.php
(8.79 KB)
📁
Console
📁
Contracts
📄
Controller.php
(1.62 KB)
📄
ControllerDispatcher.php
(2.2 KB)
📄
ControllerMiddlewareOptions.php
(1009 B)
📁
Controllers
📄
CreatesRegularExpressionRouteConstraints.php
(2.38 KB)
📁
Events
📁
Exceptions
📄
FiltersControllerMiddleware.php
(524 B)
📄
ImplicitRouteBinding.php
(4.38 KB)
📄
LICENSE.md
(1.05 KB)
📁
Matching
📁
Middleware
📄
MiddlewareNameResolver.php
(3.1 KB)
📄
PendingResourceRegistration.php
(6 KB)
📄
PendingSingletonResourceRegistration.php
(5.28 KB)
📄
Pipeline.php
(1.49 KB)
📄
RedirectController.php
(1.18 KB)
📄
Redirector.php
(7.18 KB)
📄
ResolvesRouteDependencies.php
(3.51 KB)
📄
ResourceRegistrar.php
(20.62 KB)
📄
ResponseFactory.php
(8.44 KB)
📄
Route.php
(31.47 KB)
📄
RouteAction.php
(3.38 KB)
📄
RouteBinding.php
(2.72 KB)
📄
RouteCollection.php
(6.89 KB)
📄
RouteCollectionInterface.php
(2.28 KB)
📄
RouteDependencyResolverTrait.php
(135 B)
📄
RouteFileRegistrar.php
(641 B)
📄
RouteGroup.php
(2.67 KB)
📄
RouteParameterBinder.php
(3.04 KB)
📄
RouteRegistrar.php
(8.38 KB)
📄
RouteSignatureParameters.php
(1.6 KB)
📄
RouteUri.php
(1.29 KB)
📄
RouteUrlGenerator.php
(9.05 KB)
📄
Router.php
(39.8 KB)
📄
RoutingServiceProvider.php
(6.86 KB)
📄
SortedMiddleware.php
(3.75 KB)
📄
UrlGenerator.php
(21.95 KB)
📄
ViewController.php
(1.41 KB)
📄
composer.json
(1.46 KB)
Editing: Pipeline.php
<?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 $this->handleCarry($response); } }
Upload File
Create Folder