MenuController :: generateSubMenu

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_api_platform_links
Symfony\Component\WebLink\GenericLinkProvider {#3734
  -links: [
    3732 => Symfony\Component\WebLink\Link {#3732
      -href: "http://mua.greendot.cz/api/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_controller
"App\Controller\Web\MenuController::generateSubMenu"
_format
"html"
_locale
"cs"
_stopwatch_token
"306d04"
category
App\Entity\Project\Category {#2520
  -id: 133
  -name: "Archivní fondy"
  -menu_name: ""
  -description: null
  -html: null
  -title: ""
  -labels: Doctrine\ORM\PersistentCollection {#2521 …}
  -categoryFiles: Doctrine\ORM\PersistentCollection {#2523 …}
  -categoryCategories: Doctrine\ORM\PersistentCollection {#2525 …}
  -categorySubCategories: Doctrine\ORM\PersistentCollection {#2527 …}
  -isActive: true
  -slug: "archivni-fondy"
  -javascript: null
  -sequence: 2
  -is_menu: 1
  -latitude: null
  -longitude: null
  -locale: null
  -state: "draft"
  -parameters: Doctrine\ORM\PersistentCollection {#2529 …}
  -categoryProducts: Doctrine\ORM\PersistentCollection {#2531 …}
  -comments: Doctrine\ORM\PersistentCollection {#2533 …}
  -persons: Doctrine\ORM\PersistentCollection {#2535 …}
  -hasComments: null
  -events: Doctrine\ORM\PersistentCollection {#2537 …}
  -categoryUploadGroups: Doctrine\ORM\PersistentCollection {#2539 …}
  -categoryType: Proxies\__CG__\App\Entity\Project\CategoryType {#1736 …}
  -isIndexable: true
  -upload: null
  -isXmlExportable: null
  -created_at: null
  -menuType: Doctrine\ORM\PersistentCollection {#2541 …}
  -subMenuType: Doctrine\ORM\PersistentCollection {#2543 …}
}
menuType
App\Entity\Project\MenuType {#2373
  -id: 1
  -name: "Hlavní menu"
  -template: "/web/menu/main.html.twig"
  -controllerName: "web_menu"
  -categories: Doctrine\ORM\PersistentCollection {#2372 …}
}
subMenuType
App\Entity\Project\SubMenuType {#2682
  -id: 1
  -name: "Výchozí"
  -template: "/web/sub_menu/default_sub_menu.html.twig"
  -controllerName: "App\Controller\Web\MenuController::generateSubMenu"
  -categories: Doctrine\ORM\PersistentCollection {#2667 …}
}

Request Headers

Header Value
accept
"*/*"
accept-charset
"ISO-8859-1,utf-8;q=0.7,*;q=0.7"
accept-encoding
"gzip, br, zstd, deflate"
accept-language
"en-us,en;q=0.5"
cookie
"PHPSESSID=hgnpih1edosua44aerdgg4oak2"
forwarded
"for="3.147.2.74";host="mua.greendot.cz";proto=http, for="127.0.0.1""
host
"mua.greendot.cz"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
x-forwarded-for
"3.147.2.74, 127.0.0.1"
x-php-ob-level
"3"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
date
"Tue, 29 Oct 2024 17:22:41 GMT"
x-debug-token
"bbdb81"

Cookies

Request Cookies

Key Value
PHPSESSID
"hgnpih1edosua44aerdgg4oak2"

Response Cookies

No response cookies

Session 3

Session Metadata

Key Value
Created
"Tue, 29 Oct 24 17:22:35 +0000"
Last used
"Tue, 29 Oct 24 17:22:40 +0000"
Lifetime
0

Session Attributes

Attribute Value
_csrf/contact_form
"vQ_hIXMTgOu4JA3mc2vPqbL8SlSs4IwuFwO3y0-OXVY"
selectedCurrency
App\Entity\Project\Currency {#902
  -id: 1
  -name: "Česká koruna"
  -symbol: ""
  -conversionRate: 1.0
  -rounding: 2
  -isDefault: true
}

Session Usage

3 Usages
Stateless check enabled
Usage
App\EventSubscriber\BeforeControllerListener:56
[
  [
    "file" => "/var/projects/mua/src/EventSubscriber/BeforeControllerListener.php"
    "line" => 56
    "function" => "get"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelController"
    "class" => "App\EventSubscriber\BeforeControllerListener"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 127
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 151
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/Kernel.php"
    "line" => 184
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/public/index.php"
    "line" => 5
    "args" => [
      "/var/projects/mua/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
App\Twig\AppExtension:121
[
  [
    "file" => "/var/projects/mua/src/Twig/AppExtension.php"
    "line" => 121
    "function" => "get"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/var/cache/dev/twig/8e/8e55b323ec6eb8b58826e1126c5f1881.php"
    "line" => 58
    "function" => "getCurrencyFromSession"
    "class" => "App\Twig\AppExtension"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/Template.php"
    "line" => 398
    "function" => "doDisplay"
    "class" => "__TwigTemplate_7cc22bae87cfcb9ada11f05f0742e232"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/var/cache/dev/twig/aa/aa2eea4151f2d68ac5a8b0e5f2f561fb.php"
    "line" => 53
    "function" => "yield"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/Template.php"
    "line" => 398
    "function" => "doDisplay"
    "class" => "__TwigTemplate_32e1f0e55fc0e4197e5cd65feebd44a1"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/Template.php"
    "line" => 354
    "function" => "yield"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/Template.php"
    "line" => 369
    "function" => "display"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/TemplateWrapper.php"
    "line" => 38
    "function" => "render"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/Environment.php"
    "line" => 306
    "function" => "render"
    "class" => "Twig\TemplateWrapper"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/framework-bundle/Controller/AbstractController.php"
    "line" => 242
    "function" => "render"
    "class" => "Twig\Environment"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/framework-bundle/Controller/AbstractController.php"
    "line" => 253
    "function" => "renderView"
    "class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/src/Controller/Web/PersonController.php"
    "line" => 45
    "function" => "render"
    "class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 163
    "function" => "personDetail"
    "class" => "App\Controller\Web\PersonController"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/Kernel.php"
    "line" => 184
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/public/index.php"
    "line" => 5
    "args" => [
      "/var/projects/mua/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
App\Controller\Web\MenuController:64
[
  [
    "file" => "/var/projects/mua/src/Controller/Web/MenuController.php"
    "line" => 64
    "function" => "has"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 163
    "function" => "generateMenu"
    "class" => "App\Controller\Web\MenuController"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php"
    "line" => 86
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/Fragment/InlineFragmentRenderer.php"
    "line" => 78
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpCache\SubRequestHandler"
    "type" => "::"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/Fragment/FragmentHandler.php"
    "line" => 81
    "function" => "render"
    "class" => "Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php"
    "line" => 47
    "function" => "render"
    "class" => "Symfony\Component\HttpKernel\Fragment\FragmentHandler"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/twig-bridge/Extension/HttpKernelRuntime.php"
    "line" => 44
    "function" => "render"
    "class" => "Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/var/cache/dev/twig/8e/8e55b323ec6eb8b58826e1126c5f1881.php"
    "line" => 177
    "function" => "renderFragment"
    "class" => "Symfony\Bridge\Twig\Extension\HttpKernelRuntime"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/Template.php"
    "line" => 398
    "function" => "doDisplay"
    "class" => "__TwigTemplate_7cc22bae87cfcb9ada11f05f0742e232"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/var/cache/dev/twig/aa/aa2eea4151f2d68ac5a8b0e5f2f561fb.php"
    "line" => 53
    "function" => "yield"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/Template.php"
    "line" => 398
    "function" => "doDisplay"
    "class" => "__TwigTemplate_32e1f0e55fc0e4197e5cd65feebd44a1"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/Template.php"
    "line" => 354
    "function" => "yield"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/Template.php"
    "line" => 369
    "function" => "display"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/TemplateWrapper.php"
    "line" => 38
    "function" => "render"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/Environment.php"
    "line" => 306
    "function" => "render"
    "class" => "Twig\TemplateWrapper"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/framework-bundle/Controller/AbstractController.php"
    "line" => 242
    "function" => "render"
    "class" => "Twig\Environment"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/framework-bundle/Controller/AbstractController.php"
    "line" => 253
    "function" => "renderView"
    "class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/src/Controller/Web/PersonController.php"
    "line" => 45
    "function" => "render"
    "class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 163
    "function" => "personDetail"
    "class" => "App\Controller\Web\PersonController"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/Kernel.php"
    "line" => 184
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/public/index.php"
    "line" => 5
    "args" => [
      "/var/projects/mua/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
"3bef66df610d3dd0623606c719433207"
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"mysql://greendot:NecumV@localhost:3306/mua"
EMAIL
"web@mua.cas.cz"
MAILER_DSN
"smtp://web@mua.cas.cz:Zuy11208@smtp.office365.com:587?encryption=STARTTLS&verify_peer=0"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=1"
PACKETA_API_KEY
"0101304795bb7a64fcf06cef55e5895e"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/projects/mua/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/projects/mua/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_CHARSET
"ISO-8859-1,utf-8;q=0.7,*;q=0.7"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_ACCEPT_LANGUAGE
"en-us,en;q=0.5"
HTTP_COOKIE
"PHPSESSID=hgnpih1edosua44aerdgg4oak2"
HTTP_FORWARDED
"for="3.147.2.74";host="mua.greendot.cz";proto=http, for="127.0.0.1""
HTTP_HOST
"mua.greendot.cz"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_X_FORWARDED_FOR
"3.147.2.74, 127.0.0.1"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PATH_INFO
""
PHP_SELF
"/index.php"
QUERY_STRING
"_path=_format%3Dhtml%26_locale%3Dcs%26_controller%3DApp%255CController%255CWeb%255CMenuController%253A%253AgenerateSubMenu"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/cs/lide/detail-baran"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"62290"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1730222561
REQUEST_TIME_FLOAT
1730222561.7588
REQUEST_URI
"/_fragment?_path=_format%3Dhtml%26_locale%3Dcs%26_controller%3DApp%255CController%255CWeb%255CMenuController%253A%253AgenerateSubMenu"
SCRIPT_FILENAME
"/var/projects/mua/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"190.2.155.146"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"mua.greendot.cz"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,MAILER_DSN,DATABASE_URL,CORS_ALLOW_ORIGIN,EMAIL,PACKETA_API_KEY,MESSENGER_TRANSPORT_DSN"
USER
"www-data"
proxy-nokeepalive
"1"

Parent Request

Return to parent request (token = 10c5ae)

Key Value
_api_platform_links
Symfony\Component\WebLink\GenericLinkProvider {#5555
  -links: [
    5553 => Symfony\Component\WebLink\Link {#5553
      -href: "http://mua.greendot.cz/api/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_controller
"App\Controller\Web\MenuController::generateMenu"
_route
"web_menu"
_route_params
[
  "id" => "1"
]
_stopwatch_token
"a962e3"
id
"1"
menuType
App\Entity\Project\MenuType {#2373
  -id: 1
  -name: "Hlavní menu"
  -template: "/web/menu/main.html.twig"
  -controllerName: "web_menu"
  -categories: Doctrine\ORM\PersistentCollection {#2372 …}
}