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 ($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 |
admin_value_sendmail_path | /usr/bin/msmtp --logfile /var/log/defaultwebsite.log -a hellas-shipping.com.br -t |
admin_value_track_errors | on |
owner | ubwww |
LANG | en_US.UTF-8 |
TZ | UTC |
admin_value_error_reporting | E_ALL & ~E_DEPRECATED & ~E_STRICT |
HOSTNAME | e67f908eb357 |
fpm_pm_max_children | 6 |
httpd_ProxyErrorOverride | off |
APACHE_CACHE | |
PHPIZE_DEPS | autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c |
admin_value_max_input_time | 120 |
GPG_KEYS | 0BD78B5F97500D450838F95DFE857D9A90D90EC1 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3 |
admin_value_short_open_tag | on |
httpd_KeepAliveTimeout | 60 |
admin_value_max_input_vars | 1000 |
PHP_EXTRA_CONFIGURE_ARGS | --enable-fpm --with-fpm-user |
PHP_ASC_URL | https://secure.php.net/get/php-5.6.40.tar.xz.asc/from/this/mirror |
PHP_CFLAGS | -fstack-protector-strong -fpic -fpie -O2 |
sendmail_tls_status | tls on |
sendmail_from | from postmaster@hellas-shipping.com.br |
fpm_request_terminate_timeout | 10m |
PWD | /var/www/html |
admin_value_max_execution_time | 120 |
HOME | /home/defaultwebsite |
admin_value_display_errors | off |
PHP_LDFLAGS | -Wl,-O1 -Wl,--hash-style |
sendmail_port | port 25 |
PHP_INI_DIR | /usr/local/etc/php |
httpd_TimeOut | 300 |
APP_PATH | /home/defaultwebsite/public |
PHP_URL | https://secure.php.net/get/php-5.6.40.tar.xz/from/this/mirror |
PHP_CPPFLAGS | -fstack-protector-strong -fpic -fpie -O2 |
admin_value_memory_limit | 121M |
PORT | 3000 |
sendmail_host | host ubmsasendweb-spo2.umbler.com |
fpm_pm_max_requests | 200 |
admin_value_register_globals | off |
fpm_pm_process_idle_timeout | 10m |
sendmail_account | account hellas-shipping.com.br |
fpm_pm | dynamic |
admin_value_display_startup_errors | off |
user | |
domain | hellas-shipping.com.br |
OAUTH_VERSION | 1.2.3 |
php_extensions | gd soap mysqli pdo_mysql mcrypt |
PHP_VERSION | 5.6 |
admin_value_upload_tmp_dir | /home/defaultwebsite/tmp/upload |
sendmail_tls_crt_check | tls_certcheck off |
admin_value_open_basedir | /home/defaultwebsite:/tmp:/etc/pki/tls/certs:/usr/local/bin/:/usr/bin/.composer/ |
SHLVL | 2 |
LANGUAGE | en_US:en |
sendmail_user | user postmaster@hellas-shipping.com.br |
admin_value_post_max_size | 46M |
httpd_KeepAlive | on |
PHP_MD5 | |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
httpd_MaxKeepAliveRequests | 75 |
PHP_SHA256 | 1369a51eee3995d7fbd1c5342e5cc917760e276d561595b6052b21ace2656d1c |
fpm_pm_start_servers | 3 |
timeout | 10m |
admin_value_upload_max_filesize | 500M |
sendmail_pass | password HFxo=4%@sQU@B+m |
pecl_extensions | |
sendmail_auth | auth on |
_ | /usr/bin/env |
FCGI_ROLE | RESPONDER |
REDIRECT_UNIQUE_ID | ZgXDWCMCGCkhqEIdDk4HtAAAAK0 |
REDIRECT_STATUS | 200 |
UNIQUE_ID | ZgXDWCMCGCkhqEIdDk4HtAAAAK0 |
HTTP_HOST | www.hellas-shipping.com.br |
HTTP_X_REAL_IP | 52.205.159.48 |
HTTP_X_FORWARDED_PROTO | http |
HTTP_X_FORWARDED_HOST | www.hellas-shipping.com.br |
HTTP_X_FORWARDED_FOR | 52.205.159.48 |
HTTP_X_FORWARDED_PORT | 80 |
HTTP_CONNECTION | Upgrade |
HTTP_X_PROXY_PROVIDER | or |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
SERVER_NAME | www.hellas-shipping.com.br |
SERVER_ADDR | 10.250.9.2 |
SERVER_PORT | 80 |
REMOTE_ADDR | 177.55.111.4 |
DOCUMENT_ROOT | /home/defaultwebsite/public |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /home/defaultwebsite/public |
SERVER_ADMIN | [no address given] |
SCRIPT_FILENAME | /home/defaultwebsite/public/index.php |
REMOTE_PORT | 37572 |
REDIRECT_URL | /public/index.php/en/home |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /public/index.php/en/home |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711653720.0233 |
REQUEST_TIME | 1711653720 |
Key | Value |
admin_value_sendmail_path | /usr/bin/msmtp --logfile /var/log/defaultwebsite.log -a hellas-shipping.com.br -t |
admin_value_track_errors | on |
owner | ubwww |
LANG | en_US.UTF-8 |
TZ | UTC |
admin_value_error_reporting | E_ALL & ~E_DEPRECATED & ~E_STRICT |
HOSTNAME | e67f908eb357 |
fpm_pm_max_children | 6 |
httpd_ProxyErrorOverride | off |
APACHE_CACHE | |
PHPIZE_DEPS | autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c |
admin_value_max_input_time | 120 |
GPG_KEYS | 0BD78B5F97500D450838F95DFE857D9A90D90EC1 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3 |
admin_value_short_open_tag | on |
httpd_KeepAliveTimeout | 60 |
admin_value_max_input_vars | 1000 |
PHP_EXTRA_CONFIGURE_ARGS | --enable-fpm --with-fpm-user |
PHP_ASC_URL | https://secure.php.net/get/php-5.6.40.tar.xz.asc/from/this/mirror |
PHP_CFLAGS | -fstack-protector-strong -fpic -fpie -O2 |
sendmail_tls_status | tls on |
sendmail_from | from postmaster@hellas-shipping.com.br |
fpm_request_terminate_timeout | 10m |
PWD | /var/www/html |
admin_value_max_execution_time | 120 |
HOME | /home/defaultwebsite |
admin_value_display_errors | off |
PHP_LDFLAGS | -Wl,-O1 -Wl,--hash-style |
sendmail_port | port 25 |
PHP_INI_DIR | /usr/local/etc/php |
httpd_TimeOut | 300 |
APP_PATH | /home/defaultwebsite/public |
PHP_URL | https://secure.php.net/get/php-5.6.40.tar.xz/from/this/mirror |
PHP_CPPFLAGS | -fstack-protector-strong -fpic -fpie -O2 |
admin_value_memory_limit | 121M |
PORT | 3000 |
sendmail_host | host ubmsasendweb-spo2.umbler.com |
fpm_pm_max_requests | 200 |
admin_value_register_globals | off |
fpm_pm_process_idle_timeout | 10m |
sendmail_account | account hellas-shipping.com.br |
fpm_pm | dynamic |
admin_value_display_startup_errors | off |
user | |
domain | hellas-shipping.com.br |
OAUTH_VERSION | 1.2.3 |
php_extensions | gd soap mysqli pdo_mysql mcrypt |
PHP_VERSION | 5.6 |
admin_value_upload_tmp_dir | /home/defaultwebsite/tmp/upload |
sendmail_tls_crt_check | tls_certcheck off |
admin_value_open_basedir | /home/defaultwebsite:/tmp:/etc/pki/tls/certs:/usr/local/bin/:/usr/bin/.composer/ |
SHLVL | 2 |
LANGUAGE | en_US:en |
sendmail_user | user postmaster@hellas-shipping.com.br |
admin_value_post_max_size | 46M |
httpd_KeepAlive | on |
PHP_MD5 | |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
httpd_MaxKeepAliveRequests | 75 |
PHP_SHA256 | 1369a51eee3995d7fbd1c5342e5cc917760e276d561595b6052b21ace2656d1c |
fpm_pm_start_servers | 3 |
timeout | 10m |
admin_value_upload_max_filesize | 500M |
sendmail_pass | password HFxo=4%@sQU@B+m |
pecl_extensions | |
sendmail_auth | auth on |
_ | /usr/bin/env |
FCGI_ROLE | RESPONDER |
REDIRECT_UNIQUE_ID | ZgXDWCMCGCkhqEIdDk4HtAAAAK0 |
REDIRECT_STATUS | 200 |
UNIQUE_ID | ZgXDWCMCGCkhqEIdDk4HtAAAAK0 |
HTTP_HOST | www.hellas-shipping.com.br |
HTTP_X_REAL_IP | 52.205.159.48 |
HTTP_X_FORWARDED_PROTO | http |
HTTP_X_FORWARDED_HOST | www.hellas-shipping.com.br |
HTTP_X_FORWARDED_FOR | 52.205.159.48 |
HTTP_X_FORWARDED_PORT | 80 |
HTTP_CONNECTION | Upgrade |
HTTP_X_PROXY_PROVIDER | or |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
SERVER_NAME | www.hellas-shipping.com.br |
SERVER_ADDR | 10.250.9.2 |
SERVER_PORT | 80 |
REMOTE_ADDR | 177.55.111.4 |
DOCUMENT_ROOT | /home/defaultwebsite/public |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /home/defaultwebsite/public |
SERVER_ADMIN | [no address given] |
SCRIPT_FILENAME | /home/defaultwebsite/public/index.php |
REMOTE_PORT | 37572 |
REDIRECT_URL | /public/index.php/en/home |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /public/index.php/en/home |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711653720.0233 |
REQUEST_TIME | 1711653720 |