File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
stubs/Symfony/Component/HttpFoundation Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -31,4 +31,47 @@ class Request
3131 */
3232 public function getSession();
3333
34+ /**
35+ * @return string[]
36+ */
37+ public static function getTrustedProxies(): array;
38+
39+ /**
40+ * @return string[]
41+ */
42+ public static function getTrustedHosts(): array;
43+
44+ /**
45+ * @param string $format
46+ *
47+ * @return string[]
48+ */
49+ public static function getMimeTypes($format): array;
50+
51+ /**
52+ * @param string|null $format
53+ * @param string|string[] $mimeTypes
54+ */
55+ public function setFormat($format, $mimeTypes): void;
56+
57+ /**
58+ * @return string[]
59+ */
60+ public function getLanguages(): array;
61+
62+ /**
63+ * @return string[]
64+ */
65+ public function getCharsets(): array;
66+
67+ /**
68+ * @return string[]
69+ */
70+ public function getEncodings(): array;
71+
72+ /**
73+ * @return string[]
74+ */
75+ public function getAcceptableContentTypes(): array;
76+
3477}
You can’t perform that action at this time.
0 commit comments