MenuController :: generateSubMenu

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_api_platform_links
Symfony\Component\WebLink\GenericLinkProvider {#5766
  -links: [
    5764 => Symfony\Component\WebLink\Link {#5764
      -href: "https://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
"a6e5f9"
category
App\Entity\Project\Category {#3480
  -id: 64
  -name: "Publikační činnost"
  -menu_name: ""
  -description: null
  -html: null
  -title: "Publikace a e-shop"
  -labels: Doctrine\ORM\PersistentCollection {#3481 …}
  -categoryFiles: Doctrine\ORM\PersistentCollection {#3483 …}
  -categoryCategories: Doctrine\ORM\PersistentCollection {#3485 …}
  -categorySubCategories: Doctrine\ORM\PersistentCollection {#3487 …}
  -isActive: true
  -slug: "publikace"
  -javascript: null
  -sequence: 4
  -is_menu: 1
  -latitude: null
  -longitude: null
  -locale: null
  -state: "draft"
  -parameters: Doctrine\ORM\PersistentCollection {#3489 …}
  -categoryProducts: Doctrine\ORM\PersistentCollection {#3491 …}
  -comments: Doctrine\ORM\PersistentCollection {#3493 …}
  -persons: Doctrine\ORM\PersistentCollection {#3495 …}
  -hasComments: null
  -events: Doctrine\ORM\PersistentCollection {#3497 …}
  -categoryUploadGroups: Doctrine\ORM\PersistentCollection {#3499 …}
  -categoryType: Proxies\__CG__\App\Entity\Project\CategoryType {#2776 …}
  -isIndexable: true
  -upload: null
  -isXmlExportable: null
  -created_at: null
  -menuType: Doctrine\ORM\PersistentCollection {#3501 …}
  -subMenuType: Doctrine\ORM\PersistentCollection {#3503 …}
}
menuType
App\Entity\Project\MenuType {#3283
  -id: 1
  -name: "Hlavní menu"
  -template: "/web/menu/main.html.twig"
  -controllerName: "web_menu"
  -categories: Doctrine\ORM\PersistentCollection {#3282 …}
}
subMenuType
App\Entity\Project\SubMenuType {#3592
  -id: 1
  -name: "Výchozí"
  -template: "/web/sub_menu/default_sub_menu.html.twig"
  -controllerName: "App\Controller\Web\MenuController::generateSubMenu"
  -categories: Doctrine\ORM\PersistentCollection {#3577 …}
}

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=ukf0dqf7k43khihs14naj0tbis"
forwarded
"for="3.147.2.74";host="mua.greendot.cz";proto=https, 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:33 GMT"
x-debug-token
"0df389"

Cookies

Request Cookies

Key Value
PHPSESSID
"ukf0dqf7k43khihs14naj0tbis"

Response Cookies

No response cookies

Session 3

Session Metadata

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

Session Attributes

Attribute Value
_csrf/https-authenticate
"wvoeEfYR213SDgVH7JNpApfUqUMo37KovPsYZVJUMw4"
_csrf/https-contact_form
"D2XiFlKGfQItjg6A2iSeij9fCnbWQ1_4678EF6BJjB4"
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/40/40fd3da64a60d6fd4f5f2d3c5dde3993.php"
    "line" => 55
    "function" => "yield"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/Template.php"
    "line" => 398
    "function" => "doDisplay"
    "class" => "__TwigTemplate_3a0f80b73a51be291955311f261c8554"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/var/cache/dev/twig/44/44826c2cb5125f1a5055aa5748b6dc4e.php"
    "line" => 54
    "function" => "yield"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/Template.php"
    "line" => 398
    "function" => "doDisplay"
    "class" => "__TwigTemplate_4833f3fd046bbe206c24350745a2a36b"
    "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/Shop/CategoryController.php"
    "line" => 75
    "function" => "render"
    "class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 163
    "function" => "detail"
    "class" => "App\Controller\Shop\CategoryController"
    "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/40/40fd3da64a60d6fd4f5f2d3c5dde3993.php"
    "line" => 55
    "function" => "yield"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/Template.php"
    "line" => 398
    "function" => "doDisplay"
    "class" => "__TwigTemplate_3a0f80b73a51be291955311f261c8554"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/var/cache/dev/twig/44/44826c2cb5125f1a5055aa5748b6dc4e.php"
    "line" => 54
    "function" => "yield"
    "class" => "Twig\Template"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/twig/twig/src/Template.php"
    "line" => 398
    "function" => "doDisplay"
    "class" => "__TwigTemplate_4833f3fd046bbe206c24350745a2a36b"
    "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/Shop/CategoryController.php"
    "line" => 75
    "function" => "render"
    "class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
    "type" => "->"
  ]
  [
    "file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 163
    "function" => "detail"
    "class" => "App\Controller\Shop\CategoryController"
    "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"
HTTPS
"on"
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=ukf0dqf7k43khihs14naj0tbis"
HTTP_FORWARDED
"for="3.147.2.74";host="mua.greendot.cz";proto=https, 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_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"mua.greendot.cz"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/cs/publikace/ceskoslovensky-exil-19391945"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"4742"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1730222550
REQUEST_TIME_FLOAT
1730222550.8055
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
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"mua.greendot.cz"
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 = b67549)

Key Value
_api_platform_links
Symfony\Component\WebLink\GenericLinkProvider {#6605
  -links: [
    6603 => Symfony\Component\WebLink\Link {#6603
      -href: "https://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
"df31af"
id
"1"
menuType
App\Entity\Project\MenuType {#3283
  -id: 1
  -name: "Hlavní menu"
  -template: "/web/menu/main.html.twig"
  -controllerName: "web_menu"
  -categories: Doctrine\ORM\PersistentCollection {#3282 …}
}