質問編集履歴

1

dd($request)の出力結果の追記

2022/01/09 09:09

投稿

suika11
suika11

スコア166

test CHANGED
File without changes
test CHANGED
@@ -78,6 +78,80 @@
78
78
 
79
79
 
80
80
 
81
+ ```Laravel
82
+
83
+ dd($request)の結果
84
+
85
+ Illuminate\Http\Request {#43 ▼
86
+
87
+ +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45 ▶}
88
+
89
+ +request: Symfony\Component\HttpFoundation\InputBag {#44 ▶}
90
+
91
+ +query: Symfony\Component\HttpFoundation\InputBag {#51 ▶}
92
+
93
+ +server: Symfony\Component\HttpFoundation\ServerBag {#47 ▶}
94
+
95
+ +files: Symfony\Component\HttpFoundation\FileBag {#48 ▶}
96
+
97
+ +cookies: Symfony\Component\HttpFoundation\InputBag {#46 ▶}
98
+
99
+ +headers: Symfony\Component\HttpFoundation\HeaderBag {#49 ▶}
100
+
101
+ #content: null
102
+
103
+ #languages: null
104
+
105
+ #charsets: null
106
+
107
+ #encodings: null
108
+
109
+ #acceptableContentTypes: null
110
+
111
+ #pathInfo: "/threads/create"
112
+
113
+ #requestUri: "/threads/create"
114
+
115
+ #baseUrl: ""
116
+
117
+ #basePath: null
118
+
119
+ #method: "POST"
120
+
121
+ #format: null
122
+
123
+ #session: Illuminate\Session\Store {#320 ▶}
124
+
125
+ #locale: null
126
+
127
+ #defaultLocale: "en"
128
+
129
+ -preferredFormat: null
130
+
131
+ -isHostValid: true
132
+
133
+ -isForwardedValid: true
134
+
135
+ -isSafeContentPreferred: null
136
+
137
+ #json: null
138
+
139
+ #convertedFiles: []
140
+
141
+ #userResolver: Closure($guard = null) {#287 ▶}
142
+
143
+ #routeResolver: Closure() {#295 ▶}
144
+
145
+ basePath: ""
146
+
147
+ format: "html"
148
+
149
+ }
150
+
151
+ ```
152
+
153
+
154
+
81
155
  ### 補足情報(FW/ツールのバージョンなど)
82
156
 
83
157
  PHP 8.1.1