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 | "decfa8" |
| id | "8" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=628c88b07bf450912b34fc788dccbcd4" |
| host | "dev.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.217.175" |
| x-forwarded-host | "dev.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 | "Fri, 29 May 2026 18:02:10 GMT" |
| location | "/ru" |
| x-debug-token | "0e9d9b" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "628c88b07bf450912b34fc788dccbcd4" |
Response Cookies
No response cookies
Session 3
Session Metadata
| Key | Value |
|---|---|
| Created | "Fri, 29 May 26 18:02:08 +0000" |
| Last used | "Fri, 29 May 26 18:02:10 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| _csrf/reservation_players | "Qa5JU9qksvSE4ekEfBJyetLqXB34aydb8hDHA1mIaOg" |
| cart | [ 1 => [ "product_id" => 1 "quantity" => 1 ] 9 => [ "product_id" => 9 "quantity" => 1 ] 6 => [ "product_id" => 6 "quantity" => 1 ] 8 => [ "product_id" => 8 "quantity" => 1 ] ] |
| registrations | [ "reservation_6a19d4a1d822c" => [ "event" => App\Entity\Event {#297 -id: 81 -public: true -status: App\Entity\EventStatus {#829 …} -firstname: "Abraham" -lastname: "Dare" -email: "anika.beatty@erdman.com" -phone: "+1 (878) 336-2722" -numberOfUnequippedPlayers: 5 -numberOfEquippedPlayers: 7 -created: DateTime @1780003910 {#830 : 2026-05-28 21:31:50.0 UTC (+00:00) } -comment: "Ipsam modi velit architecto deleniti. Minima eos quis dolores expedita. Excepturi est inventore beatae minus eos et." -field: Proxies\__CG__\App\Entity\Field {#831 …} -name: "Ms. Kariane Oberbrunner" -category: App\Entity\EventCategory {#839 …} -eventStart: DateTime @1786035117 {#840 : 2026-08-06 16:51:57.0 UTC (+00:00) } -eventEnd: DateTime @1786037217 {#841 : 2026-08-06 17:26:57.0 UTC (+00:00) } -registrationsStart: DateTime @1786019817 {#842 : 2026-08-06 12:36:57.0 UTC (+00:00) } -registrationsEnd: DateTime @1786030317 {#843 : 2026-08-06 15:31:57.0 UTC (+00:00) } -transportationTime: DateTime @1786020477 {#844 : 2026-08-06 12:47:57.0 UTC (+00:00) } -referee: "Sibyl Roob" -type: App\Entity\EventType {#845 …} -price: 290 -ammunitionPrice: 121 -description: null -priceComment: "Quo aut aut iste. Id in quod iusto ipsam dolor harum exercitationem officiis. Voluptatem odit beatae et neque. Ipsum sed velit voluptates animi cumque et eligendi." -registrations: Doctrine\ORM\PersistentCollection {#846 …} -reservation: Proxies\__CG__\App\Entity\Reservation {#848 …} -mailSent: true -adminComment: null -station: "perspiciatis" -image: null -googleCalendarId: null -confirmed: false -eshopProduct: null -googleCalendarEventId: null } ] "reservation_6a19d4a210538" => [ "event" => App\Entity\Event {#849 -id: 44 -public: true -status: App\Entity\EventStatus {#850 …} -firstname: "Timmy" -lastname: "Kub" -email: "bradtke.lemuel@gmail.com" -phone: "840-863-9247 x220" -numberOfUnequippedPlayers: 4 -numberOfEquippedPlayers: 6 -created: DateTime @1780003910 {#851 : 2026-05-28 21:31:50.0 UTC (+00:00) } -comment: "Maxime et aut fugit deleniti exercitationem explicabo et. Qui odit modi in voluptatem voluptatibus et. Voluptas doloremque sint qui esse dolores quisquam autem." -field: Proxies\__CG__\App\Entity\Field {#852 …} -name: "Prof. Ivory Walker IV" -category: App\Entity\EventCategory {#839 …} -eventStart: DateTime @1780366205 {#860 : 2026-06-02 02:10:05.0 UTC (+00:00) } -eventEnd: DateTime @1780369625 {#861 : 2026-06-02 03:07:05.0 UTC (+00:00) } -registrationsStart: DateTime @1780346825 {#862 : 2026-06-01 20:47:05.0 UTC (+00:00) } -registrationsEnd: DateTime @1780352705 {#863 : 2026-06-01 22:25:05.0 UTC (+00:00) } -transportationTime: DateTime @1780361705 {#864 : 2026-06-02 00:55:05.0 UTC (+00:00) } -referee: "Naomie Collier" -type: App\Entity\EventType {#845 …} -price: 249 -ammunitionPrice: 142 -description: "Tempora sit eum excepturi esse hic. Nisi voluptatum sint sint quia cupiditate. Sunt omnis adipisci possimus. Molestias sapiente labore facere sequi voluptatem eligendi sint." -priceComment: "Ipsam recusandae quam sint ut dolor. Ratione unde perferendis et libero. Nemo aliquid officia corrupti beatae. Velit officiis corporis eius inventore aut." -registrations: Doctrine\ORM\PersistentCollection {#865 …} -reservation: Proxies\__CG__\App\Entity\Reservation {#867 …} -mailSent: false -adminComment: null -station: null -image: null -googleCalendarId: null -confirmed: true -eshopProduct: null -googleCalendarEventId: null } ] "reservation_6a19d4a226705" => [ "event" => App\Entity\Event {#868 -id: 111 -public: true -status: App\Entity\EventStatus {#850 …} -firstname: "Jonas" -lastname: "Mayert" -email: "toy.nikko@huel.net" -phone: "(248) 701-8516 x325" -numberOfUnequippedPlayers: 12 -numberOfEquippedPlayers: 3 -created: DateTime @1780003910 {#869 : 2026-05-28 21:31:50.0 UTC (+00:00) } -comment: "A veritatis minus minima quo dolorem quod. Minima aut fugit quae laboriosam aspernatur perferendis. Consequatur quo et laborum ab aperiam aut voluptas." -field: Proxies\__CG__\App\Entity\Field {#870 …} -name: "Joseph McGlynn PhD" -category: App\Entity\EventCategory {#878 …} -eventStart: DateTime @1791364819 {#879 : 2026-10-07 09:20:19.0 UTC (+00:00) } -eventEnd: DateTime @1791367339 {#880 : 2026-10-07 10:02:19.0 UTC (+00:00) } -registrationsStart: DateTime @1791359059 {#881 : 2026-10-07 07:44:19.0 UTC (+00:00) } -registrationsEnd: DateTime @1791365839 {#882 : 2026-10-07 09:37:19.0 UTC (+00:00) } -transportationTime: DateTime @1791354799 {#883 : 2026-10-07 06:33:19.0 UTC (+00:00) } -referee: "Blanche Jast II" -type: App\Entity\EventType {#845 …} -price: 249 -ammunitionPrice: 189 -description: null -priceComment: null -registrations: Doctrine\ORM\PersistentCollection {#884 …} -reservation: Proxies\__CG__\App\Entity\Reservation {#886 …} -mailSent: false -adminComment: null -station: null -image: null -googleCalendarId: null -confirmed: true -eshopProduct: null -googleCalendarEventId: null } ] "reservation_6a19d4a25af5d" => [ "event" => App\Entity\Event {#887 -id: 104 -public: true -status: App\Entity\EventStatus {#850 …} -firstname: "Lorna" -lastname: "Waters" -email: "zoie14@yahoo.com" -phone: "987.346.9517 x6982" -numberOfUnequippedPlayers: 7 -numberOfEquippedPlayers: 7 -created: DateTime @1780003910 {#888 : 2026-05-28 21:31:50.0 UTC (+00:00) } -comment: "Perspiciatis ut omnis et delectus doloribus qui voluptas. Veritatis voluptatum eaque repellat natus hic. Rerum enim perferendis laboriosam molestiae sed." -field: Proxies\__CG__\App\Entity\Field {#889 …} -name: "Olin Shields Sr." -category: App\Entity\EventCategory {#897 …} -eventStart: DateTime @1783379669 {#898 : 2026-07-06 23:14:29.0 UTC (+00:00) } -eventEnd: DateTime @1783382189 {#899 : 2026-07-06 23:56:29.0 UTC (+00:00) } -registrationsStart: DateTime @1783355969 {#900 : 2026-07-06 16:39:29.0 UTC (+00:00) } -registrationsEnd: DateTime @1783357169 {#901 : 2026-07-06 16:59:29.0 UTC (+00:00) } -transportationTime: DateTime @1783371029 {#902 : 2026-07-06 20:50:29.0 UTC (+00:00) } -referee: "Luna Becker" -type: App\Entity\EventType {#903 …} -price: 156 -ammunitionPrice: 279 -description: "Beatae aut corporis qui esse. Neque magnam molestiae sunt nobis dolorem autem. Nesciunt laborum eum autem perspiciatis. Alias quo ducimus occaecati sed in." -priceComment: null -registrations: Doctrine\ORM\PersistentCollection {#904 …} -reservation: Proxies\__CG__\App\Entity\Reservation {#906 …} -mailSent: false -adminComment: null -station: "debitis" -image: null -googleCalendarId: null -confirmed: false -eshopProduct: null -googleCalendarEventId: null } ] "reservation_6a19d4a2691c2" => [ "event" => App\Entity\Event {#907 -id: 14 -public: true -status: App\Entity\EventStatus {#850 …} -firstname: "Aubrey" -lastname: "Wuckert" -email: "thalia.rowe@gmail.com" -phone: "829-413-3366 x6973" -numberOfUnequippedPlayers: 10 -numberOfEquippedPlayers: 8 -created: DateTime @1780003910 {#908 : 2026-05-28 21:31:50.0 UTC (+00:00) } -comment: "Quia et velit et eius. Aut autem aperiam cumque nobis odit voluptate. Et est est quibusdam iusto fugit repellendus in. Tempore id suscipit consectetur sint." -field: Proxies\__CG__\App\Entity\Field {#909 …} -name: "Ms. Margarita Gorczany" -category: App\Entity\EventCategory {#839 …} -eventStart: DateTime @1787145226 {#917 : 2026-08-19 13:13:46.0 UTC (+00:00) } -eventEnd: DateTime @1787150146 {#918 : 2026-08-19 14:35:46.0 UTC (+00:00) } -registrationsStart: DateTime @1787130946 {#919 : 2026-08-19 09:15:46.0 UTC (+00:00) } -registrationsEnd: DateTime @1787136166 {#920 : 2026-08-19 10:42:46.0 UTC (+00:00) } -transportationTime: DateTime @1787132926 {#921 : 2026-08-19 09:48:46.0 UTC (+00:00) } -referee: "Madeline Conroy" -type: App\Entity\EventType {#845 …} -price: 273 -ammunitionPrice: 166 -description: null -priceComment: "Officiis unde neque iste fugit modi. Repudiandae perferendis adipisci unde rem. Enim est ullam autem cum. Quis labore labore enim sint nisi atque saepe illo." -registrations: Doctrine\ORM\PersistentCollection {#922 …} -reservation: Proxies\__CG__\App\Entity\Reservation {#924 …} -mailSent: true -adminComment: null -station: null -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 {#931 -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 | "a8258fe8c700" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate" |
| HTTP_COOKIE | "PHPSESSID=628c88b07bf450912b34fc788dccbcd4" |
| HTTP_HOST | "dev.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.217.175" |
| HTTP_X_FORWARDED_HOST | "dev.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.2" |
| REMOTE_PORT | "36046" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "http" |
| REQUEST_TIME | 1780077730 |
| REQUEST_TIME_FLOAT | 1780077730.5938 |
| REQUEST_URI | "/ru/cart/add/8" |
| SCRIPT_FILENAME | "/var/www/html/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "172.16.1.12" |
| SERVER_ADMIN | "webmaster@localhost" |
| SERVER_NAME | "dev.hrabarev.netlion.cz" |
| SERVER_PORT | "80" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.65 (Debian) Server at dev.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 | [] |