Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Routing
Location:
/home/zoteqbgb/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Routing
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: PrecognitionControllerDispatcher.php
<?php namespace Illuminate\Foundation\Routing; use Illuminate\Routing\ControllerDispatcher; use Illuminate\Routing\Route; use RuntimeException; class PrecognitionControllerDispatcher extends ControllerDispatcher { /** * Dispatch a request to a given controller and method. * * @param \Illuminate\Routing\Route $route * @param mixed $controller * @param string $method * @return void */ public function dispatch(Route $route, $controller, $method) { $this->ensureMethodExists($controller, $method); $this->resolveParameters($route, $controller, $method); abort(204, headers: ['Precognition-Success' => 'true']); } /** * Ensure that the given method exists on the controller. * * @param object $controller * @param string $method * @return $this */ protected function ensureMethodExists($controller, $method) { if (method_exists($controller, $method)) { return $this; } $class = $controller::class; throw new RuntimeException("Attempting to predict the outcome of the [{$class}::{$method}()] method but the method is not defined."); } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
PrecognitionCallableDispatcher.php
551 bytes
0644
2025-01-31 15:04
âï¸
ðï¸
Rename
PrecognitionControllerDispatcher.php
1,218 bytes
0644
2025-01-31 15:04
âï¸
ðï¸
Rename
Chang
Apply