if (!is_null($route)) {
return $route->bind($request);
}
$others = $this->checkForAlternateVerbs($request);
if (count($others) > 0) {
return $this->getOtherMethodsRoute($request, $others);
}
throw new NotFoundHttpException();
}
protected function checkForAlternateVerbs($request)
}
$response = $this->prepareResponse($request, $response);
$this->callRouteAfter($route, $request, $response);
return $response;
}
protected function findRoute($request)
{
$this->current = $route = $this->routes->match($request);
return $this->substituteBindings($route);
}
}
$response = $this->prepareResponse($request, $response);
$this->callFilter('after', $request, $response);
return $response;
}
public function dispatchToRoute(Request $request)
{
$route = $this->findRoute($request);
$this->events->fire('router.matched', array($route, $request));
$response = $this->callRouteBefore($route, $request);
return isset($group['namespace']) ? $group['namespace'] . '\\' . $uses : $uses;
}
public function dispatch(Request $request)
{
$this->currentRequest = $request;
$response = $this->callFilter('before', $request);
if (is_null($response)) {
$response = $this->dispatchToRoute($request);
}
$response = $this->prepareResponse($request, $response);
if (!is_null($response)) {
return $this->prepareResponse($response, $request);
}
}
if ($this->runningUnitTests() && !$this['session']->isStarted()) {
$this['session']->start();
}
return $this['router']->dispatch($this->prepareRequest($request));
}
public function terminate(SymfonyRequest $request, SymfonyResponse $response)
});
}
public function handle(SymfonyRequest $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try {
$this->refreshRequest($request = Request::createFromBase($request));
$this->boot();
return $this->dispatch($request);
} catch (\Exception $e) {
if (!$catch || $this->runningUnitTests()) {
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$this->checkRequestForArraySessions($request);
if ($this->sessionConfigured()) {
$session = $this->startSession($request);
$request->setSession($session);
}
$response = $this->app->handle($request, $type, $catch);
if ($this->sessionConfigured()) {
$this->closeSession($session);
public function __construct(HttpKernelInterface $app, CookieJar $cookies)
{
$this->app = $app;
$this->cookies = $cookies;
}
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$response = $this->app->handle($request, $type, $catch);
foreach ($this->cookies->getQueuedCookies() as $cookie) {
$response->headers->setCookie($cookie);
public function __construct(HttpKernelInterface $app, Encrypter $encrypter)
{
$this->app = $app;
$this->encrypter = $encrypter;
}
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch));
}
protected function decrypt(Request $request)
public function __construct(HttpKernelInterface $app, array $middlewares)
{
$this->app = $app;
$this->middlewares = $middlewares;
}
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
return $this->app->handle($request, $type, $catch);
}
public function terminate(Request $request, Response $response)
if ($this->isBooted()) {
$this->fireAppCallbacks(array($callback));
}
}
public function run(SymfonyRequest $request = null)
{
$request = $request ?: $this['request'];
$response = with($stack = $this->getStackedClient())->handle($request);
$response->send();
$stack->terminate($request, $response);
| Once we have the application, we can simply call the run method, | which will execute the request and send the response back to | the client's browser allowing them to enjoy the creative | and wonderful application we have whipped up for them. | */ $app->run();
| Key | Value |
| TMP | /srv/users/serverpilot/tmp/tmcpsi |
| TEMP | /srv/users/serverpilot/tmp/tmcpsi |
| TMPDIR | /srv/users/serverpilot/tmp/tmcpsi |
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin |
| USER | serverpilot |
| HOME | /srv/users/serverpilot |
| SCRIPT_NAME | /index.php |
| REQUEST_URI | /'index.php' |
| QUERY_STRING | |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/1.0 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_URL | /'index.php' |
| REMOTE_PORT | 38978 |
| SCRIPT_FILENAME | /srv/users/serverpilot/apps/tmcpsi/public/index.php |
| SERVER_ADMIN | webmaster@ |
| CONTEXT_DOCUMENT_ROOT | /srv/users/serverpilot/apps/tmcpsi/public |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | http |
| DOCUMENT_ROOT | /srv/users/serverpilot/apps/tmcpsi/public |
| REMOTE_ADDR | 216.73.216.31 |
| SERVER_PORT | 80 |
| SERVER_ADDR | 127.0.0.1 |
| SERVER_NAME | psistaffing.themedicalcity.com |
| SERVER_SOFTWARE | Apache/2.4.65 (Unix) OpenSSL/1.0.2g |
| SERVER_SIGNATURE | |
| LD_LIBRARY_PATH | /opt/sp/apache/lib:/opt/sp/apache/lib |
| HTTP_CACHE_CONTROL | max-age=259200 |
| HTTP_VIA | 1.1 squid-proxy-5b5d847c96-42g69 (squid/6.13) |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| HTTP_CONNECTION | close |
| HTTP_X_FORWARDED_FOR | 10.8.118.215, 216.73.216.31 |
| HTTP_HOST | psistaffing.themedicalcity.com |
| SCRIPT_URI | http://psistaffing.themedicalcity.com/'index.php' |
| SCRIPT_URL | /'index.php' |
| REDIRECT_STATUS | 200 |
| REDIRECT_SCRIPT_URI | http://psistaffing.themedicalcity.com/'index.php' |
| REDIRECT_SCRIPT_URL | /'index.php' |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1762046427.8258 |
| REQUEST_TIME | 1762046427 |
| argv | Array ( ) |
| argc | 0 |
| Key | Value |
| TMP | /srv/users/serverpilot/tmp/tmcpsi |
| TEMP | /srv/users/serverpilot/tmp/tmcpsi |
| TMPDIR | /srv/users/serverpilot/tmp/tmcpsi |
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin |
| USER | serverpilot |
| HOME | /srv/users/serverpilot |
| SCRIPT_NAME | /index.php |
| REQUEST_URI | /'index.php' |
| QUERY_STRING | |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/1.0 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_URL | /'index.php' |
| REMOTE_PORT | 38978 |
| SCRIPT_FILENAME | /srv/users/serverpilot/apps/tmcpsi/public/index.php |
| SERVER_ADMIN | webmaster@ |
| CONTEXT_DOCUMENT_ROOT | /srv/users/serverpilot/apps/tmcpsi/public |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | http |
| DOCUMENT_ROOT | /srv/users/serverpilot/apps/tmcpsi/public |
| REMOTE_ADDR | 216.73.216.31 |
| SERVER_PORT | 80 |
| SERVER_ADDR | 127.0.0.1 |
| SERVER_NAME | psistaffing.themedicalcity.com |
| SERVER_SOFTWARE | Apache/2.4.65 (Unix) OpenSSL/1.0.2g |
| SERVER_SIGNATURE | |
| LD_LIBRARY_PATH | /opt/sp/apache/lib:/opt/sp/apache/lib |
| HTTP_CACHE_CONTROL | max-age=259200 |
| HTTP_VIA | 1.1 squid-proxy-5b5d847c96-42g69 (squid/6.13) |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| HTTP_CONNECTION | close |
| HTTP_X_FORWARDED_FOR | 10.8.118.215, 216.73.216.31 |
| HTTP_HOST | psistaffing.themedicalcity.com |
| SCRIPT_URI | http://psistaffing.themedicalcity.com/'index.php' |
| SCRIPT_URL | /'index.php' |
| REDIRECT_STATUS | 200 |
| REDIRECT_SCRIPT_URI | http://psistaffing.themedicalcity.com/'index.php' |
| REDIRECT_SCRIPT_URL | /'index.php' |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1762046427.8258 |
| REQUEST_TIME | 1762046427 |
| argv | Array ( ) |
| argc | 0 |