https://glapp.ch/piece/4387

PieceController :: show

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\PieceController::show"
_firewall_context
"security.firewall.map.context.main"
_redirected
true
_route
"piece_show"
_route_params
[
  "id" => "4387"
]
_security
[
  Sensio\Bundle\FrameworkExtraBundle\Configuration\Security {#396
    -expression: "is_granted('ROLE_USER')"
    #statusCode: null
    #message: "Access denied."
  }
]
_security_firewall_run
"_security_main"
_stopwatch_token
"d71144"
id
"4387"
piece
App\Entity\Piece {#1198
  -id: 4387
  -date: DateTime @1752876000 {#1203
    date: 2025-07-19 00:00:00.0 Europe/Berlin (+02:00)
  }
  -numero: 3070
  -type: null
  -amountHT: "15.00"
  -amountTVA: "0.00"
  -discount: null
  -amountDiscount: "0.00"
  -amountTTC: "0.00"
  -createdAt: DateTime @1752876475 {#1208
    date: 2025-07-19 00:07:55.0 Europe/Berlin (+02:00)
  }
  -updatedAt: DateTime @1752877655 {#1204
    date: 2025-07-19 00:27:35.0 Europe/Berlin (+02:00)
  }
  -client: Proxies\__CG__\App\Entity\Client {#1431 …}
  -pieceLines: Doctrine\ORM\PersistentCollection {#884 …}
  -payer: null
  -amountBuyHT: "3.00"
  -amountMarge: "12.00"
  -solde: "0.00"
  -user: Proxies\__CG__\App\Entity\User {#1460 …}
  -modePaiement: null
  -amountDiscountTotal: "15.00"
  -affectations: Doctrine\ORM\PersistentCollection {#1453 …}
}

Request Headers

Header Value
accept
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"es-ES,es;q=0.9"
authorization
""
cache-control
"max-age=0"
cookie
"PHPSESSID=uihtu8i3lc7fkduhs93gtcad48; sf_redirect=%7B%22token%22%3A%22df5e90%22%2C%22route%22%3A%22piece_edit%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CPieceController%22%2C%22method%22%3A%22edit%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fclients%5C%2Fclient1%5C%2Fweb6%5C%2Fweb%5C%2Fsrc%5C%2FController%5C%2FPieceController.php%22%2C%22line%22%3A314%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D"
host
"glapp.ch"
referer
"https://glapp.ch/piece/4387/edit"
sec-ch-ua
""Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120""
sec-ch-ua-mobile
"?0"
sec-ch-ua-platform
""macOS""
sec-fetch-dest
"document"
sec-fetch-mode
"navigate"
sec-fetch-site
"same-origin"
sec-fetch-user
"?1"
upgrade-insecure-requests
"1"
user-agent
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
x-php-ob-level
"1"

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, 18 Jul 2025 22:27:35 GMT"
x-debug-token
"039738"

Cookies

Request Cookies

Key Value
PHPSESSID
"uihtu8i3lc7fkduhs93gtcad48"
sf_redirect
"{"token":"df5e90","route":"piece_edit","method":"POST","controller":{"class":"App\\Controller\\PieceController","method":"edit","file":"\/var\/www\/clients\/client1\/web6\/web\/src\/Controller\/PieceController.php","line":314},"status_code":302,"status_text":"Found"}"

Response Cookies

No response cookies

Session 3

Session Metadata

Key Value
Created
"Sat, 19 Jul 25 00:07:04 +0200"
Last used
"Sat, 19 Jul 25 00:27:35 +0200"
Lifetime
0

Session Attributes

Attribute Value
_csrf/https-authenticate
"dLeiEQGkiH9PXu3H1o4GXm4oYU4w4zJtYSBwcBzDlC0"
_csrf/https-piece
"gGtQdvPd0J_rQ_PTIFDrpYsX10c6Awgj3feQwyXA3tI"
_csrf/https-piece_search
"MfvU2OUW7rAA2ZoUTU4mk8ND3yo-lmKRDr9UnHAZ6NQ"
_security.last_username
"s.gaido@me.com"
_security.main.target_path
"https://glapp.ch/piece/"
_security_main
"O:67:"Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken":2:{i:0;s:4:"main";i:1;a:5:{i:0;O:30:"Proxies\__CG__\App\Entity\User":21:{s:17:"__isInitialized__";b:1;s:19:"\x00App\Entity\User\x00id";i:2;s:22:"\x00App\Entity\User\x00email";s:14:"s.gaido@me.com";s:22:"\x00App\Entity\User\x00roles";a:1:{i:0;s:16:"ROLE_SUPER_ADMIN";}s:25:"\x00App\Entity\User\x00password";s:60:"$2y$13$HaqdB8/4R9XEDC2kAdeL8.e2Qblj6TYG30.L/SGtJL9USQniDH7U2";s:30:"\x00App\Entity\User\x00password_edit";N;s:27:"\x00App\Entity\User\x00nomComplet";N;s:26:"\x00App\Entity\User\x00firstName";s:6:"Sergio";s:25:"\x00App\Entity\User\x00lastName";s:5:"Gaido";s:20:"\x00App\Entity\User\x00tel";s:12:"+41798877476";s:21:"\x00App\Entity\User\x00role";s:16:"ROLE_SUPER_ADMIN";s:23:"\x00App\Entity\User\x00avatar";N;s:27:"\x00App\Entity\User\x00avatarFile";N;s:23:"\x00App\Entity\User\x00active";b:1;s:22:"\x00App\Entity\User\x00token";N;s:26:"\x00App\Entity\User\x00createdAt";O:8:"DateTime":3:{s:4:"date";s:26:"2020-10-01 23:46:27.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:13:"Europe/Berlin";}s:26:"\x00App\Entity\User\x00updatedAt";O:8:"DateTime":3:{s:4:"date";s:26:"2023-07-01 20:25:47.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:13:"Europe/Berlin";}s:24:"\x00App\Entity\User\x00clients";O:33:"Doctrine\ORM\PersistentCollection":2:{s:13:"\x00*\x00collection";O:43:"Doctrine\Common\Collections\ArrayCollection":1:{s:53:"\x00Doctrine\Common\Collections\ArrayCollection\x00elements";a:0:{}}s:14:"\x00*\x00initialized";b:0;}s:23:"\x00App\Entity\User\x00pieces";O:33:"Doctrine\ORM\PersistentCollection":2:{s:13:"\x00*\x00collection";O:43:"Doctrine\Common\Collections\ArrayCollection":1:{s:53:"\x00Doctrine\Common\Collections\ArrayCollection\x00elements";a:0:{}}s:14:"\x00*\x00initialized";b:0;}s:25:"\x00App\Entity\User\x00payments";O:33:"Doctrine\ORM\PersistentCollection":2:{s:13:"\x00*\x00collection";O:43:"Doctrine\Common\Collections\ArrayCollection":1:{s:53:"\x00Doctrine\Common\Collections\ArrayCollection\x00elements";a:0:{}}s:14:"\x00*\x00initialized";b:0;}s:22:"\x00App\Entity\User\x00gifts";O:33:"Doctrine\ORM\PersistentCollection":2:{s:13:"\x00*\x00collection";O:43:"Doctrine\Common\Collections\ArrayCollection":1:{s:53:"\x00Doctrine\Common\Collections\ArrayCollection\x00elements";a:0:{}}s:14:"\x00*\x00initialized";b:0;}}i:1;b:1;i:2;N;i:3;a:0:{}i:4;a:2:{i:0;s:16:"ROLE_SUPER_ADMIN";i:1;s:9:"ROLE_USER";}}}"

Session Usage

3 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 44
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php"
    "line" => 88
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php"
    "line" => 74
    "function" => "getVariables"
    "class" => "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 117
    "function" => "onKernelControllerArguments"
    "class" => "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 158
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/public/index.php"
    "line" => 28
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
]
/var/www/clients/client1/web6/web/vendor/twig/twig/src/Extension/CoreExtension.php:1607
[
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/twig/twig/src/Extension/CoreExtension.php"
    "line" => 1607
    "function" => "getFlashBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/var/cache/dev/twig/f9/f9025ee72e492f806be31040a6e3634b918333bc60a2b53e381ec0f0d13f4972.php"
    "line" => 273
    "function" => "twig_get_attribute"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/twig/twig/src/Template.php"
    "line" => 394
    "function" => "doDisplay"
    "class" => "__TwigTemplate_015530c9a7ad73605499955bf05285238ad72e659be45f207ebc2bfac6bc773d"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/twig/twig/src/Template.php"
    "line" => 367
    "function" => "displayWithErrorHandling"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/var/cache/dev/twig/18/1812836d8509a132373e682332479d50358ce0f5ebd76c334dbe9cbb46391bb9.php"
    "line" => 50
    "function" => "display"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/twig/twig/src/Template.php"
    "line" => 394
    "function" => "doDisplay"
    "class" => "__TwigTemplate_a56640ef0ae6bf6469f75e051db57b4f0d320dab34d99a58af76a4fdc83fd7cb"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/twig/twig/src/Template.php"
    "line" => 367
    "function" => "displayWithErrorHandling"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/twig/twig/src/Template.php"
    "line" => 379
    "function" => "display"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/twig/twig/src/TemplateWrapper.php"
    "line" => 40
    "function" => "render"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/twig/twig/src/Environment.php"
    "line" => 277
    "function" => "render"
    "class" => "Twig\TemplateWrapper"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/framework-bundle/Controller/AbstractController.php"
    "line" => 258
    "function" => "render"
    "class" => "Twig\Environment"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/framework-bundle/Controller/AbstractController.php"
    "line" => 266
    "function" => "renderView"
    "class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/src/Controller/PieceController.php"
    "line" => 306
    "function" => "render"
    "class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 163
    "function" => "show"
    "class" => "App\Controller\PieceController"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/public/index.php"
    "line" => 28
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
]
Symfony\Component\Security\Http\Firewall\ContextListener:198
[
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/security-http/Firewall/ContextListener.php"
    "line" => 198
    "function" => "set"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 117
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\Security\Http\Firewall\ContextListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 196
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 184
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/clients/client1/web6/web/public/index.php"
    "line" => 28
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"1edc5290cd6a0c14205a773c4f11d100"
DATABASE_URL
"mysql://c1Glapp_Usr:gm4kgKoXGX@P@127.0.0.1:3306/c1Glapp_Db"
MAILER_URL
"null://localhost"
mailer_from_address
"info@glapp.ch"
param_title
"GLAPP"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/clients/client1/web6/web/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/clients/client1/web6/web/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
H2PUSH
"off"
H2_PUSH
"off"
H2_PUSHED
""
H2_PUSHED_ON
""
H2_STREAM_ID
"3"
H2_STREAM_TAG
"3-3"
HOME
"/var/www/clients/client1/web6"
HOSTNAME
""
HTTP2
"on"
HTTPS
"on"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"es-ES,es;q=0.9"
HTTP_AUTHORIZATION
""
HTTP_CACHE_CONTROL
"max-age=0"
HTTP_COOKIE
"PHPSESSID=uihtu8i3lc7fkduhs93gtcad48; sf_redirect=%7B%22token%22%3A%22df5e90%22%2C%22route%22%3A%22piece_edit%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CPieceController%22%2C%22method%22%3A%22edit%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fclients%5C%2Fclient1%5C%2Fweb6%5C%2Fweb%5C%2Fsrc%5C%2FController%5C%2FPieceController.php%22%2C%22line%22%3A314%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D"
HTTP_HOST
"glapp.ch"
HTTP_REFERER
"https://glapp.ch/piece/4387/edit"
HTTP_SEC_CH_UA
""Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120""
HTTP_SEC_CH_UA_MOBILE
"?0"
HTTP_SEC_CH_UA_PLATFORM
""macOS""
HTTP_SEC_FETCH_DEST
"document"
HTTP_SEC_FETCH_MODE
"navigate"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_SEC_FETCH_USER
"?1"
HTTP_UPGRADE_INSECURE_REQUESTS
"1"
HTTP_USER_AGENT
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REMOTE_ADDR
"5.145.95.91"
REMOTE_PORT
"60254"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1752877655
REQUEST_TIME_FLOAT
1752877655.3637
REQUEST_URI
"/piece/4387"
SCRIPT_FILENAME
"/var/www/clients/client1/web6/web/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"192.162.68.228"
SERVER_ADMIN
"webmaster@glapp.ch"
SERVER_NAME
"glapp.ch"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/2.0"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"glapp.ch"
SYMFONY_DOTENV_VARS
"APP_ENV,DATABASE_URL,APP_SECRET,MAILER_URL,mailer_from_address,param_title"
TEMP
"/var/www/clients/client1/web6/tmp"
TMP
"/var/www/clients/client1/web6/tmp"
TMPDIR
"/var/www/clients/client1/web6/tmp"
USER
"web6"
proxy-nokeepalive
"1"