https://app-beta.sigmatex.ma/employee_log_hour/new Return to referer URL

EmployeeLogHourController :: addLog

Request

GET Parameters

No GET parameters

POST Parameters

Key Value
employeeId
"101"
inOut
"2"
logDate
"25/12/2024"
logTime
"18:00"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\EmployeeLogHourController::addLog"
_firewall_context
"security.firewall.map.context.main"
_is_granted
[
  Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted {#886
    -attributes: "EMPLOYEE_LOG_HOUR_NEW"
    -subject: ""
    -message: "Permission requise"
    -statusCode: null
  }
]
_route
"employee_log_hour_add"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"b3faa1"

Request Headers

Header Value
accept
"application/json, text/javascript, */*; q=0.01"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7"
connection
"close"
content-length
"61"
content-type
"application/x-www-form-urlencoded; charset=UTF-8"
cookie
"kt_metronic_intro_1_show_3=1; kt_metronic_intro_1_counter=3; kt_metronic_intro_2_show_3=1; kt_metronic_intro_2_counter=3; kt_metronic_intro_3_show_3=1; kt_metronic_intro_3_counter=3; PHPSESSID=pjkvd9qlvuh6g9gdotuh6b9h83"
host
"app-beta.sigmatex.ma"
origin
"https://app-beta.sigmatex.ma"
priority
"u=1, i"
referer
"https://app-beta.sigmatex.ma/employee_log_hour/log"
sec-ch-ua
""Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24""
sec-ch-ua-mobile
"?0"
sec-ch-ua-platform
""Windows""
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
x-accel-internal
"/internal-nginx-static-location"
x-php-ob-level
"1"
x-real-ip
"41.250.159.129"
x-requested-with
"XMLHttpRequest"

Request Content

Raw

employeeId=101&inOut=2&logDate=25%2F12%2F2024&logTime=18%3A00

Response

Response Headers

Header Value
cache-control
"private, must-revalidate"
content-type
"application/json"
date
"Wed, 25 Dec 2024 17:48:30 GMT"
expires
-1
pragma
"no-cache"
x-debug-token
"83b398"

Cookies

Request Cookies

Key Value
PHPSESSID
"pjkvd9qlvuh6g9gdotuh6b9h83"
kt_metronic_intro_1_counter
"3"
kt_metronic_intro_1_show_3
"1"
kt_metronic_intro_2_counter
"3"
kt_metronic_intro_2_show_3
"1"
kt_metronic_intro_3_counter
"3"
kt_metronic_intro_3_show_3
"1"

Response Cookies

No response cookies

Session 2

Session Metadata

Key Value
Created
"Wed, 25 Dec 24 17:31:23 +0000"
Last used
"Wed, 25 Dec 24 17:48:21 +0000"
Lifetime
0

Session Attributes

Attribute Value
_security.last_username
"n.bouaziz@sigmatex.ma"
_security.main.target_path
"https://app-beta.sigmatex.ma/"
_security_main
"O:67:"Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken":2:{i:0;s:4:"main";i:1;a:5:{i:0;O:15:"App\Entity\User":10:{s:19:"\x00App\Entity\User\x00id";i:3;s:22:"\x00App\Entity\User\x00email";s:21:"n.bouaziz@sigmatex.ma";s:22:"\x00App\Entity\User\x00roles";a:1:{i:0;s:9:"ROLE_USER";}s:26:"\x00App\Entity\User\x00user_role";O:34:"Proxies\__CG__\App\Entity\UserRole":5:{s:17:"__isInitialized__";b:1;s:23:"\x00App\Entity\UserRole\x00id";i:3;s:25:"\x00App\Entity\UserRole\x00name";s:9:"Pointeuse";s:26:"\x00App\Entity\UserRole\x00users";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:32:"\x00App\Entity\UserRole\x00permissions";a:16:{i:0;s:14:"EMPLOYEE_INDEX";i:1;s:12:"EMPLOYEE_NEW";i:2;s:13:"EMPLOYEE_SHOW";i:3;s:14:"EMPLOYEE_PRINT";i:4;s:13:"EMPLOYEE_EDIT";i:5;s:22:"EMPLOYEE_HISTORY_INDEX";i:6;s:20:"EMPLOYEE_HISTORY_NEW";i:7;s:21:"EMPLOYEE_HISTORY_SHOW";i:8;s:22:"EMPLOYEE_HISTORY_PRINT";i:9;s:21:"EMPLOYEE_HISTORY_EDIT";i:10;s:23:"EMPLOYEE_LOG_HOUR_INDEX";i:11;s:21:"EMPLOYEE_LOG_HOUR_NEW";i:12;s:22:"EMPLOYEE_LOG_HOUR_SHOW";i:13;s:23:"EMPLOYEE_LOG_HOUR_PRINT";i:14;s:22:"EMPLOYEE_LOG_HOUR_EDIT";i:15;s:26:"EMPLOYEE_LOG_HOUR_CALENDAR";}}s:25:"\x00App\Entity\User\x00password";s:60:"$2y$13$bJD98JXFeuE4lORW45xKBej4w6X/52VzdgiNSJjUR/AP8VGaIqwdO";s:23:"\x00App\Entity\User\x00active";b:1;s:25:"\x00App\Entity\User\x00googleId";N;s:27:"\x00App\Entity\User\x00avatarFile";N;s:27:"\x00App\Entity\User\x00avatarName";N;s:25:"\x00App\Entity\User\x00employee";O:19:"App\Entity\Employee":0:{}}i:1;b:1;i:2;N;i:3;a:0:{}i:4;a:1:{i:0;s:9:"ROLE_USER";}}}"

Session Usage

2 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 44
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/security-http/Authenticator/RememberMeAuthenticator.php"
    "line" => 65
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/security-http/Authentication/AuthenticatorManager.php"
    "line" => 110
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/security-http/Firewall/AuthenticatorManagerListener.php"
    "line" => 34
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php"
    "line" => 40
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 38
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 25
    "function" => "supports"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
    "line" => 60
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 77
    "function" => "__invoke"
    "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/security-http/Firewall.php"
    "line" => 92
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 118
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/autoload_runtime.php"
    "line" => 35
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
Symfony\Component\Security\Http\Firewall\ContextListener:198
[
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/security-http/Firewall/ContextListener.php"
    "line" => 198
    "function" => "set"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 118
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\Security\Http\Firewall\ContextListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 196
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 184
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/vendor/autoload_runtime.php"
    "line" => 35
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/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_NAME
"SmartSigma"
APP_SECRET
"acee1553d29a0f89dac37d3b11eebaba"
APP_TIMEZONE
"Africa/Casablanca"
DATABASE_NAME
"smartsigma_beta_db"
DATABASE_PASSWORD
"N3cp8w2*1"
DATABASE_ROOT_PASSWORD
"N3cp8w2*1"
DATABASE_URL
"mysql://smartsigma_beta_user:N3cp8w2*1@localhost:3306/smartsigma_beta_db?serverVersion=mariadb-10.5.5"
DATABASE_USER
"smartsigma_beta_user"
MAILER_DSN
"smtp://0.0.0.0:2109"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
ROOT_URI
"localhost"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"61"
CONTENT_TYPE
"application/x-www-form-urlencoded; charset=UTF-8"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/sigmatex.ma"
HTTPS
"on"
HTTP_ACCEPT
"application/json, text/javascript, */*; q=0.01"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7"
HTTP_CONNECTION
"close"
HTTP_COOKIE
"kt_metronic_intro_1_show_3=1; kt_metronic_intro_1_counter=3; kt_metronic_intro_2_show_3=1; kt_metronic_intro_2_counter=3; kt_metronic_intro_3_show_3=1; kt_metronic_intro_3_counter=3; PHPSESSID=pjkvd9qlvuh6g9gdotuh6b9h83"
HTTP_HOST
"app-beta.sigmatex.ma"
HTTP_ORIGIN
"https://app-beta.sigmatex.ma"
HTTP_PRIORITY
"u=1, i"
HTTP_REFERER
"https://app-beta.sigmatex.ma/employee_log_hour/log"
HTTP_SEC_CH_UA
""Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24""
HTTP_SEC_CH_UA_MOBILE
"?0"
HTTP_SEC_CH_UA_PLATFORM
""Windows""
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"41.250.159.129"
HTTP_X_REQUESTED_WITH
"XMLHttpRequest"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/employee_log_hour/new"
REMOTE_ADDR
"41.250.159.129"
REMOTE_PORT
"54880"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1735148910
REQUEST_TIME_FLOAT
1735148910.699
REQUEST_URI
"/employee_log_hour/new"
SCRIPT_FILENAME
"/var/www/vhosts/sigmatex.ma/app-beta.sigmatex.ma/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"194.163.165.199"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"app-beta.sigmatex.ma"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
"<address>Apache Server at app-beta.sigmatex.ma Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,MESSENGER_TRANSPORT_DSN,APP_TIMEZONE,APP_NAME,ROOT_URI,DATABASE_NAME,DATABASE_USER,DATABASE_PASSWORD,DATABASE_ROOT_PASSWORD,DATABASE_URL,MAILER_DSN"
USER
"sigmatex.ma"
proxy-nokeepalive
"1"