CartController :: add
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _access_control_attributes | null |
| _controller | "App\Controller\CartController::add" |
| _firewall_context | "security.firewall.map.context.main" |
| _locale | "ru" |
| _route | "app_cart_add" |
| _route_params | [ "_locale" => "ru" "id" => "8" ] |
| _stopwatch_token | "8afe74" |
| id | "8" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=90e6d9989e7eba9b641f4885c15ca767" |
| host | "test.hrabarev.netlion.cz" |
| user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| via | "2.0 Caddy" |
| x-forwarded-for | "216.73.216.146" |
| x-forwarded-host | "test.hrabarev.netlion.cz" |
| x-forwarded-proto | "https" |
| x-php-ob-level | "0" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "no-cache, private" |
| content-type | "text/html; charset=utf-8" |
| date | "Thu, 11 Jun 2026 19:00:07 GMT" |
| location | "/ru" |
| x-debug-token | "1d5d40" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "90e6d9989e7eba9b641f4885c15ca767" |
Response Cookies
No response cookies
Session 3
Session Metadata
| Key | Value |
|---|---|
| Created | "Thu, 11 Jun 26 19:00:04 +0000" |
| Last used | "Thu, 11 Jun 26 19:00:07 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| _csrf/reservation_players | "VmAWY1WtSzfobRdN_FD4T5rcYL7nTOZqDpyDN49Jiuo" |
| cart | [ 9 => [ "product_id" => 9 "quantity" => 1 ] 6 => [ "product_id" => 6 "quantity" => 1 ] 8 => [ "product_id" => 8 "quantity" => 1 ] ] |
| registrations | [ "reservation_6a2b05b4a155b" => [ "event" => App\Entity\Event {#297 -id: 98 -public: true -status: App\Entity\EventStatus {#829 …} -firstname: "Cristian" -lastname: "Goyette" -email: "terence.morar@steuber.org" -phone: "690-697-2191" -numberOfUnequippedPlayers: 19 -numberOfEquippedPlayers: 17 -created: DateTime @1781186282 {#830 : 2026-06-11 13:58:02.0 UTC (+00:00) } -comment: "Optio quisquam voluptate ea minus labore ipsam voluptas. Qui voluptatum accusantium voluptatem officia. Consequuntur et nihil beatae corporis qui quia." -field: Proxies\__CG__\App\Entity\Field {#831 …} -name: "Prof. Nikolas Sipes Jr." -category: App\Entity\EventCategory {#839 …} -eventStart: DateTime @1790252791 {#840 : 2026-09-24 12:26:31.0 UTC (+00:00) } -eventEnd: DateTime @1790257411 {#841 : 2026-09-24 13:43:31.0 UTC (+00:00) } -registrationsStart: DateTime @1790231671 {#842 : 2026-09-24 06:34:31.0 UTC (+00:00) } -registrationsEnd: DateTime @1790242291 {#843 : 2026-09-24 09:31:31.0 UTC (+00:00) } -transportationTime: DateTime @1790235571 {#844 : 2026-09-24 07:39:31.0 UTC (+00:00) } -referee: "Ms. Earlene Abshire" -type: App\Entity\EventType {#845 …} -price: 185 -ammunitionPrice: 292 -description: "Consequuntur qui ad animi modi. Provident voluptatem officiis consequatur eveniet nemo reprehenderit quo. Qui sunt animi qui harum dolorem." -priceComment: "Ea rerum aut sit et sequi rerum. Veniam omnis sint assumenda quis. Sunt omnis illo itaque veritatis autem magnam. A id ut odit dolore." -registrations: Doctrine\ORM\PersistentCollection {#846 …} -reservation: Proxies\__CG__\App\Entity\Reservation {#848 …} -mailSent: true -adminComment: "Ut exercitationem velit molestias rerum quia animi. Error quis omnis quo et sit. Iste reiciendis dolorem aut amet nobis quidem." -station: null -image: null -googleCalendarId: null -confirmed: false -eshopProduct: null -googleCalendarEventId: null } ] "reservation_6a2b05b53af6b" => [ "event" => App\Entity\Event {#849 -id: 106 -public: true -status: App\Entity\EventStatus {#829 …} -firstname: "Alec" -lastname: "Harris" -email: "ihauck@hotmail.com" -phone: "747.715.3476 x0581" -numberOfUnequippedPlayers: 12 -numberOfEquippedPlayers: 3 -created: DateTime @1781186282 {#850 : 2026-06-11 13:58:02.0 UTC (+00:00) } -comment: "Quo exercitationem quam totam fugiat dolorem possimus laboriosam. Laudantium facilis consectetur rerum earum amet autem ratione. Officia a sint voluptatem sed aut. Ut vel optio harum ipsam aut." -field: Proxies\__CG__\App\Entity\Field {#851 …} -name: "Dejah Kemmer" -category: App\Entity\EventCategory {#859 …} -eventStart: DateTime @1792878900 {#860 : 2026-10-24 21:55:00.0 UTC (+00:00) } -eventEnd: DateTime @1792883340 {#861 : 2026-10-24 23:09:00.0 UTC (+00:00) } -registrationsStart: DateTime @1792876920 {#862 : 2026-10-24 21:22:00.0 UTC (+00:00) } -registrationsEnd: DateTime @1792883100 {#863 : 2026-10-24 23:05:00.0 UTC (+00:00) } -transportationTime: DateTime @1792866900 {#864 : 2026-10-24 18:35:00.0 UTC (+00:00) } -referee: "Heather Smith" -type: App\Entity\EventType {#865 …} -price: 188 -ammunitionPrice: 192 -description: "Sapiente sequi aspernatur placeat velit voluptatem. Sit eum et aut. Sunt neque deleniti repellendus repudiandae et quos voluptates et. Voluptas repellendus ut illo itaque mollitia dolor." -priceComment: null -registrations: Doctrine\ORM\PersistentCollection {#866 …} -reservation: Proxies\__CG__\App\Entity\Reservation {#868 …} -mailSent: true -adminComment: "Molestiae ut adipisci quasi minus modi. Qui explicabo eius est ut eius ab velit quos. Aut sed vero est eos odio repellendus magnam accusantium. Unde assumenda aliquam dolores in. Aut et ut non." -station: "aspernatur" -image: null -googleCalendarId: null -confirmed: true -eshopProduct: null -googleCalendarEventId: null } ] ] |
Session Usage
3
Usages
Stateless check enabled
| Usage |
|---|
App\Manager\CartManager:87
[
[
"file" => "/var/www/html/src/Manager/CartManager.php"
"line" => 87
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/src/Controller/CartController.php"
"line" => 574
"function" => "load"
"class" => "App\Manager\CartManager"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "add"
"class" => "App\Controller\CartController"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/http-kernel/Kernel.php"
"line" => 208
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/public/index.php"
"line" => 5
"args" => [
"/var/www/html/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
App\Manager\CartManager:82
[
[
"file" => "/var/www/html/src/Manager/CartManager.php"
"line" => 82
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/src/Manager/CartManager.php"
"line" => 29
"function" => "save"
"class" => "App\Manager\CartManager"
"type" => "->"
]
[
"file" => "/var/www/html/src/Controller/CartController.php"
"line" => 584
"function" => "add"
"class" => "App\Manager\CartManager"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "add"
"class" => "App\Controller\CartController"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/http-kernel/Kernel.php"
"line" => 208
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/public/index.php"
"line" => 5
"args" => [
"/var/www/html/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Symfony\Bundle\FrameworkBundle\Controller\AbstractController:195
[
[
"file" => "/var/www/html/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 195
"function" => "getFlashBag"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/src/Controller/CartController.php"
"line" => 586
"function" => "addFlash"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "add"
"class" => "App\Controller\CartController"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/http-kernel/Kernel.php"
"line" => 208
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/public/index.php"
"line" => 5
"args" => [
"/var/www/html/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Flashes
Flashes
| Key | Value |
|---|---|
| success | [ Symfony\Component\Translation\TranslatableMessage {#872 -message: "Product was added to cart. <a href="%link%">Go to cart!</a>" -parameters: [ "%link%" => "/ru/cart" ] -domain: null } ] |
Server Parameters
Server Parameters
Defined in .env
| Key | Value |
|---|---|
| COMGATE_MERCHANT | "478981" |
| COMGATE_SECRET | "ZeKdYqJThmvkqqyN7I6bqyUjATqgnuO1" |
| COMGATE_TEST | "true" |
| GOOGLE_API_KEY | "" |
| GOOGLE_AUTH_CONFIG | "%kernel.project_dir%/config/google-api-credentials.json" |
| GOOGLE_CLIENT_ID | "" |
| GOOGLE_CLIENT_SECRET | "" |
| IDOKLAD_CLIENT_ID | "ddb9fffc-4579-48c2-8766-f4d893365208" |
| IDOKLAD_CLIENT_SECRET | "eb78e34b-eebd-4ec5-b5be-cfc4c7ded170" |
| IDOKLAD_NUMERIC_SEQUENCE | "4658216" |
| OAUTH_FACEBOOK_ID | "1273741916649587" |
| OAUTH_FACEBOOK_SECRET | "80e1f1644f9169a394b8c532c35f6b1b" |
Defined as regular env variables
| Key | Value |
|---|---|
| APACHE_CONFDIR | "/etc/apache2" |
| APACHE_DOCUMENT_ROOT | "/var/www/html/public" |
| APACHE_ENVVARS | "/etc/apache2/envvars" |
| APACHE_LOCK_DIR | "/var/lock/apache2" |
| APACHE_LOG_DIR | "/var/log/apache2" |
| APACHE_PID_FILE | "/var/run/apache2/apache2.pid" |
| APACHE_RUN_DIR | "/var/run/apache2" |
| APACHE_RUN_GROUP | "www-data" |
| APACHE_RUN_USER | "www-data" |
| APP_DEBUG | "1" |
| APP_ENV | "dev" |
| APP_SECRET | "changeme_in_production" |
| CONTEXT_DOCUMENT_ROOT | "/var/www/html/public" |
| CONTEXT_PREFIX | "" |
| DATABASE_URL | "mysql://app:!ChangeMe!@db:3306/app?serverVersion=mariadb-10.11.0&charset=utf8" |
| DOCUMENT_ROOT | "/var/www/html/public" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| GPG_KEYS | "528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD" |
| HOSTNAME | "d8d068217266" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate" |
| HTTP_COOKIE | "PHPSESSID=90e6d9989e7eba9b641f4885c15ca767" |
| HTTP_HOST | "test.hrabarev.netlion.cz" |
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| HTTP_VIA | "2.0 Caddy" |
| HTTP_X_FORWARDED_FOR | "216.73.216.146" |
| HTTP_X_FORWARDED_HOST | "test.hrabarev.netlion.cz" |
| HTTP_X_FORWARDED_PROTO | "https" |
| LANG | "C" |
| MAILER_DSN | "smtp://mailer:1025" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
| PHPIZE_DEPS | "autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c" |
| PHP_ASC_URL | "https://www.php.net/distributions/php-8.1.34.tar.xz.asc" |
| PHP_CFLAGS | "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
| PHP_CPPFLAGS | "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
| PHP_INI_DIR | "/usr/local/etc/php" |
| PHP_LDFLAGS | "-Wl,-O1 -pie" |
| PHP_SELF | "/index.php" |
| PHP_SHA256 | "ffa9e0982e82eeaea848f57687b425ed173aa278fe563001310ae2638db5c251" |
| PHP_URL | "https://www.php.net/distributions/php-8.1.34.tar.xz" |
| PHP_VERSION | "8.1.34" |
| PWD | "/var/www/html" |
| QUERY_STRING | "" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/ru/cart/add/8" |
| REMOTE_ADDR | "172.16.1.4" |
| REMOTE_PORT | "34518" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "http" |
| REQUEST_TIME | 1781204407 |
| REQUEST_TIME_FLOAT | 1781204407.1974 |
| REQUEST_URI | "/ru/cart/add/8" |
| SCRIPT_FILENAME | "/var/www/html/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "172.16.1.19" |
| SERVER_ADMIN | "webmaster@localhost" |
| SERVER_NAME | "test.hrabarev.netlion.cz" |
| SERVER_PORT | "80" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.65 (Debian) Server at test.hrabarev.netlion.cz Port 80</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.65 (Debian)" |
| SHLVL | "0" |
| SYMFONY_DOTENV_VARS | "IDOKLAD_CLIENT_ID,IDOKLAD_CLIENT_SECRET,IDOKLAD_NUMERIC_SEQUENCE,COMGATE_MERCHANT,COMGATE_SECRET,COMGATE_TEST,OAUTH_FACEBOOK_ID,OAUTH_FACEBOOK_SECRET,GOOGLE_API_KEY,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET,GOOGLE_AUTH_CONFIG" |
| argc | 0 |
| argv | [] |