PanierController :: ajouterProduit
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _access_control_attributes | null |
| _controller | "App\Controller\PanierController::ajouterProduit" |
| _firewall_context | "security.firewall.map.context.main" |
| _route | "panier_ajouter" |
| _route_params | [ "id" => "5" ] |
| _security_authenticators | [] |
| _security_skipped_authenticators | [] |
| _stopwatch_token | "52732e" |
| id | "5" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=4ef74d13a8e20792f7c7dd44ef1ceede; main_deauth_profile_token=250221" |
| host | "petmus.6239687.techinfo-cstj.ca" |
| user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| 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 | "Sat, 08 Nov 2025 12:08:08 GMT" |
| location | "/base" |
| x-debug-token | "50181c" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "4ef74d13a8e20792f7c7dd44ef1ceede" |
| main_deauth_profile_token | "250221" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 08 Nov 25 12:08:07 +0000" |
| Last used | "Sat, 08 Nov 25 12:08:08 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| panier | [ 14 => [ "id" => 14 "nom" => "Mingus Ah Um" "quantite" => 1 ] 18 => [ "id" => 18 "nom" => "Héritage" "quantite" => 1 ] 22 => [ "id" => 22 "nom" => "Play Cash Cobain" "quantite" => 1 ] 20 => [ "id" => 20 "nom" => "J’ai menti" "quantite" => 1 ] 15 => [ "id" => 15 "nom" => "The Shape of Jazz to Come" "quantite" => 1 ] 9 => [ "id" => 9 "nom" => "Illmatic" "quantite" => 1 ] 8 => [ "id" => 8 "nom" => "The Marshall Mathers LP" "quantite" => 1 ] 21 => [ "id" => 21 "nom" => "Rage World" "quantite" => 1 ] 7 => [ "id" => 7 "nom" => "The Chronic" "quantite" => 1 ] 5 => [ "id" => 5 "nom" => "Mucho Mistrust" "quantite" => 1 ] ] |
Session Usage
2
Usages
Stateless check enabled
| Usage |
|---|
App\Controller\PanierController:26
[
[
"file" => "/home/e6239687/public_html/petmus/src/Controller/PanierController.php"
"line" => 26
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/home/e6239687/public_html/petmus/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 183
"function" => "ajouterProduit"
"class" => "App\Controller\PanierController"
"type" => "->"
]
[
"file" => "/home/e6239687/public_html/petmus/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/home/e6239687/public_html/petmus/vendor/symfony/http-kernel/Kernel.php"
"line" => 182
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/home/e6239687/public_html/petmus/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/home/e6239687/public_html/petmus/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/home/e6239687/public_html/petmus/public/index.php"
"line" => 5
"args" => [
"/home/e6239687/public_html/petmus/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
App\Controller\PanierController:39
[
[
"file" => "/home/e6239687/public_html/petmus/src/Controller/PanierController.php"
"line" => 39
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/home/e6239687/public_html/petmus/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 183
"function" => "ajouterProduit"
"class" => "App\Controller\PanierController"
"type" => "->"
]
[
"file" => "/home/e6239687/public_html/petmus/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/home/e6239687/public_html/petmus/vendor/symfony/http-kernel/Kernel.php"
"line" => 182
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/home/e6239687/public_html/petmus/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/home/e6239687/public_html/petmus/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/home/e6239687/public_html/petmus/public/index.php"
"line" => 5
"args" => [
"/home/e6239687/public_html/petmus/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
| Key | Value |
|---|---|
| APP_ENV | "dev" |
| APP_SECRET | "" |
| DATABASE_URL | "mysql://e6239687_petmus:peterragepetmus0@techinfo-cstj.ca:3306/e6239687_boutique_musique?serverVersion=8.0.32&charset=utf8mb4" |
| MAILER_DSN | "null://null" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| CONTEXT_DOCUMENT_ROOT | "/usr/local/cpanel/cgi-sys/" |
| CONTEXT_PREFIX | "/cgi-sys" |
| DOCUMENT_ROOT | "/home/e6239687/public_html/petmus" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HTTPS | "on" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate" |
| HTTP_COOKIE | "PHPSESSID=4ef74d13a8e20792f7c7dd44ef1ceede; main_deauth_profile_token=250221" |
| HTTP_HOST | "petmus.6239687.techinfo-cstj.ca" |
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| ORIG_PATH_INFO | "/public/index.php" |
| ORIG_PATH_TRANSLATED | "/home/e6239687/public_html/petmus/public/index.php" |
| ORIG_SCRIPT_FILENAME | "/usr/local/cpanel/cgi-sys/ea-php82" |
| ORIG_SCRIPT_NAME | "/cgi-sys/ea-php82" |
| PATH | "/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin" |
| PHP_SELF | "/public/index.php" |
| QUERY_STRING | "" |
| REDIRECT_BASE | "/public" |
| REDIRECT_HANDLER | "application/x-httpd-ea-php82" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_REDIRECT_BASE | "/public" |
| REDIRECT_REDIRECT_HTTPS | "on" |
| REDIRECT_REDIRECT_REDIRECT_HTTPS | "on" |
| REDIRECT_REDIRECT_REDIRECT_SSL_TLS_SNI | "petmus.6239687.techinfo-cstj.ca" |
| REDIRECT_REDIRECT_REDIRECT_STATUS | "200" |
| REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID | "aQ8yqEeMvSqPmjV4G6mrjwAAAAo" |
| REDIRECT_REDIRECT_SSL_TLS_SNI | "petmus.6239687.techinfo-cstj.ca" |
| REDIRECT_REDIRECT_STATUS | "200" |
| REDIRECT_REDIRECT_UNIQUE_ID | "aQ8yqEeMvSqPmjV4G6mrjwAAAAo" |
| REDIRECT_SSL_TLS_SNI | "petmus.6239687.techinfo-cstj.ca" |
| REDIRECT_STATUS | "200" |
| REDIRECT_UNIQUE_ID | "aQ8yqEeMvSqPmjV4G6mrjwAAAAo" |
| REDIRECT_URL | "/public/index.php" |
| REMOTE_ADDR | "216.73.216.166" |
| REMOTE_PORT | "49848" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1762603688 |
| REQUEST_TIME_FLOAT | 1762603688.1842 |
| REQUEST_URI | "/panier/5" |
| SCRIPT_FILENAME | "/home/e6239687/public_html/petmus/public/index.php" |
| SCRIPT_NAME | "/public/index.php" |
| SERVER_ADDR | "173.209.56.2" |
| SERVER_ADMIN | "webmaster@petmus.6239687.techinfo-cstj.ca" |
| SERVER_NAME | "petmus.6239687.techinfo-cstj.ca" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "" |
| SERVER_SOFTWARE | "Apache" |
| SSL_TLS_SNI | "petmus.6239687.techinfo-cstj.ca" |
| SYMFONY_DOTENV_PATH | "/home/e6239687/public_html/petmus/.env" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN" |
| TZ | "America/Toronto" |
| UNIQUE_ID | "aQ8yqEeMvSqPmjV4G6mrjwAAAAo" |
| argc | 0 |
| argv | [] |