Dumped Contents
In
UserDataController.php
line 60:
public function index(Request $request, $route)
{
dump($request);
dump($route);
$Page = $this->pageRepository->findOneBy(
[
Symfony\Component\HttpFoundation\Request {#14
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#60
#parameters: array:7 [
"_stopwatch_token" => "36f7b5"
"_route" => "user_data"
"_controller" => "Eccube\Controller\UserDataController::index"
"route" => "shop2"
"_route_params" => array:1 [
"route" => "shop2"
]
"_firewall_context" => "security.firewall.map.context.customer"
"_security_firewall_run" => "_security_customer"
]
}
+request: Symfony\Component\HttpFoundation\InputBag {#4
#parameters: []
}
+query: Symfony\Component\HttpFoundation\InputBag {#13
#parameters: []
}
+server: Symfony\Component\HttpFoundation\ServerBag {#55
#parameters: array:58 [
"REDIRECT_HTTPS" => "on"
"REDIRECT_HTTP_AUTHORIZATION" => ""
"REDIRECT_STATUS" => "200"
"HTTPS" => "on"
"HTTP_AUTHORIZATION" => ""
"HTTP_HOST" => "akracing.undo.jp"
"HTTP_X_REAL_IP" => "47.128.50.228"
"HTTP_LISTEN_IPADDR" => "219.94.155.220"
"HTTP_ACCEPT_LANGUAGE" => "en-US,en;q=0.5"
"HTTP_UPGRADE_INSECURE_REQUESTS" => "1"
"HTTP_USER_AGENT" => "Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; spider-feedback@bytedance.com)"
"HTTP_ACCEPT" => "text/html,application/xhtml+xml,application/xml;q=0.9,image/heif,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
"HTTP_SEC_FETCH_SITE" => "none"
"HTTP_SEC_FETCH_MODE" => "navigate"
"HTTP_SEC_FETCH_USER" => "?1"
"HTTP_SEC_FETCH_DEST" => "document"
"HTTP_ACCEPT_ENCODING" => "gzip, deflate, br"
"PATH" => "/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
"SERVER_SIGNATURE" => ""
"SERVER_SOFTWARE" => "Apache"
"SERVER_NAME" => "akracing.undo.jp"
"SERVER_ADDR" => "100.64.0.13"
"SERVER_PORT" => "443"
"REMOTE_HOST" => "ec2-47-128-50-228.ap-southeast-1.compute.amazonaws.com"
"REMOTE_ADDR" => "47.128.50.228"
"DOCUMENT_ROOT" => "/home/akracing/www/akracing.dev"
"REQUEST_SCHEME" => "https"
"CONTEXT_PREFIX" => ""
"CONTEXT_DOCUMENT_ROOT" => "/home/akracing/www/akracing.dev"
"SERVER_ADMIN" => "[no address given]"
"SCRIPT_FILENAME" => "/home/akracing/www/akracing.dev/index.php"
"REMOTE_PORT" => "0"
"REDIRECT_URL" => "/shop2"
"GATEWAY_INTERFACE" => "CGI/1.1"
"SERVER_PROTOCOL" => "HTTP/1.1"
"REQUEST_METHOD" => "GET"
"QUERY_STRING" => ""
"REQUEST_URI" => "/shop2"
"SCRIPT_NAME" => "/index.php"
"PHP_SELF" => "/index.php"
"REQUEST_TIME_FLOAT" => 1732461099.2785
"REQUEST_TIME" => 1732461099
"argv" => []
"argc" => 0
"APP_ENV" => "dev"
"APP_DEBUG" => "1"
"DATABASE_URL" => "mysql://akracing:49eqP_6xFrdC@mysql645.db.sakura.ne.jp/akracing_ec42db_dev"
"DATABASE_SERVER_VERSION" => "5.7.40-log"
"DATABASE_CHARSET" => "utf8mb4"
"MAILER_DSN" => "smtp://localhost:25"
"ECCUBE_AUTH_MAGIC" => "JjBk9Oq28YACcmSmgEJTklHVHUWUVuAg"
"ECCUBE_ADMIN_ALLOW_HOSTS" => "[]"
"ECCUBE_FORCE_SSL" => "1"
"ECCUBE_ADMIN_ROUTE" => "administrator"
"ECCUBE_COOKIE_PATH" => "/"
"ECCUBE_TEMPLATE_CODE" => "akracing"
"ECCUBE_LOCALE" => "ja"
"TRUSTED_HOSTS" => "^akracing\.undo\.jp$"
]
}
+files: Symfony\Component\HttpFoundation\FileBag {#56
#parameters: []
}
+cookies: Symfony\Component\HttpFoundation\InputBag {#29
#parameters: []
}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#54
#headers: array:14 [
"authorization" => array:1 [
0 => ""
]
"host" => array:1 [
0 => "akracing.undo.jp"
]
"x-real-ip" => array:1 [
0 => "47.128.50.228"
]
"listen-ipaddr" => array:1 [
0 => "219.94.155.220"
]
"accept-language" => array:1 [
0 => "en-US,en;q=0.5"
]
"upgrade-insecure-requests" => array:1 [
0 => "1"
]
"user-agent" => array:1 [
0 => "Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; spider-feedback@bytedance.com)"
]
"accept" => array:1 [
0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/heif,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
]
"sec-fetch-site" => array:1 [
0 => "none"
]
"sec-fetch-mode" => array:1 [
0 => "navigate"
]
"sec-fetch-user" => array:1 [
0 => "?1"
]
"sec-fetch-dest" => array:1 [
0 => "document"
]
"accept-encoding" => array:1 [
0 => "gzip, deflate, br"
]
"x-php-ob-level" => array:1 [
0 => "0"
]
]
#cacheControl: []
}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/shop2"
#requestUri: "/shop2"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Symfony\Component\HttpFoundation\Session\Session {#1034
#storage: Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage {#1039
#bags: array:2 [
"attributes" => Symfony\Component\HttpFoundation\Session\SessionBagProxy {#1032
-bag: Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag {#1035
-name: "attributes"
-storageKey: "_sf2_attributes"
#attributes: []
}
-data: &1 []
-usageIndex: &2 52
-usageReporter: array:2 [
0 => Symfony\Component\HttpKernel\EventListener\SessionListener {#1045
#container: Symfony\Component\DependencyInjection\Argument\ServiceLocator {#1044
-factory: Symfony\Component\DependencyInjection\Container::getService($registry, string $id, ?string $method, $load) {#35
this: ContainerIpJczOA\Eccube_KernelDevDebugContainer {#36 …}
}
-serviceMap: array:5 [
"initialized_session" => array:4 [
0 => "services"
1 => ".container.private.session"
2 => null
3 => false
]
"logger" => array:4 [
0 => "privates"
1 => "monolog.logger"
2 => "getMonolog_LoggerService"
3 => false
]
"session" => array:4 [
0 => "services"
1 => ".container.private.session"
2 => "get_Container_Private_SessionService"
3 => false
]
"session_collector" => array:4 [
0 => "privates"
1 => "data_collector.request.session_collector"
2 => "getDataCollector_Request_SessionCollectorService"
3 => true
]
"session_factory" => array:4 [
0 => "privates"
1 => "session.factory"
2 => "getSession_FactoryService"
3 => false
]
]
-serviceTypes: array:5 [
"initialized_session" => "?"
"logger" => "?"
"session" => "?"
"session_collector" => "?"
"session_factory" => "?"
]
-externalId: null
-container: null
-factories: array:5 [
"initialized_session" => array:4 [
0 => "services"
1 => ".container.private.session"
2 => null
3 => false
]
"logger" => array:4 [
0 => "privates"
1 => "monolog.logger"
2 => "getMonolog_LoggerService"
3 => false
]
"session" => array:4 [
0 => "services"
1 => ".container.private.session"
2 => "get_Container_Private_SessionService"
3 => false
]
"session_collector" => array:4 [
0 => "privates"
1 => "data_collector.request.session_collector"
2 => "getDataCollector_Request_SessionCollectorService"
3 => true
]
"session_factory" => array:4 [
0 => "privates"
1 => "session.factory"
2 => "getSession_FactoryService"
3 => false
]
]
-loading: []
-providedTypes: null
}
-sessionUsageStack: array:1 [
0 => 0
]
-debug: true
-sessionOptions: array:6 [
"cache_limiter" => "0"
"name" => "eccube"
"cookie_lifetime" => "0"
"cookie_httponly" => true
"gc_maxlifetime" => "1440"
"gc_probability" => 1
]
}
1 => "onSessionUsage"
]
}
"flashes" => Symfony\Component\HttpFoundation\Session\SessionBagProxy {#1031
-bag: Symfony\Component\HttpFoundation\Session\Flash\FlashBag {#1029
-name: "flashes"
-flashes: []
-storageKey: "_symfony_flashes"
}
-data: &1 []
-usageIndex: &2 52
-usageReporter: array:2 [
0 => Symfony\Component\HttpKernel\EventListener\SessionListener {#1045}
1 => "onSessionUsage"
]
}
]
#started: false
#closed: false
#saveHandler: Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy {#1030
#handler: Eccube\Session\Storage\Handler\SameSiteNoneCompatSessionHandler {#1038
-handler: Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler {#1037}
-doDestroy: null
-sessionName: null
-prefetchData: null
-newSessionId: null
-prefetchId: null
-igbinaryEmptyData: null
-handler: null
-doDestroy: null
-sessionName: null
-prefetchData: null
-newSessionId: null
}
#wrapper: false
#saveHandlerName: "user"
}
#metadataBag: Symfony\Component\HttpFoundation\Session\Storage\MetadataBag {#1033
-name: "__metadata"
-storageKey: "_sf2_meta"
#meta: array:3 [
"c" => 0
"u" => 0
"l" => 0
]
-lastUsed: null
-updateThreshold: 0
}
-emulateSameSite: null
}
-flashName: "flashes"
-attributeName: "attributes"
-data: &1 []
-usageIndex: &2 52
-usageReporter: array:2 [
0 => Symfony\Component\HttpKernel\EventListener\SessionListener {#1045}
1 => "onSessionUsage"
]
}
#locale: null
#defaultLocale: "ja"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
In
UserDataController.php
line 61:
public function index(Request $request, $route)
{
dump($request);
dump($route);
$Page = $this->pageRepository->findOneBy(
[
'url' => $route,
"shop2"