File tree 1 file changed +43
-0
lines changed
stubs/Symfony/Component/HttpFoundation
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -31,4 +31,47 @@ class Request
31
31
*/
32
32
public function getSession();
33
33
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
+
34
77
}
You can’t perform that action at this time.
0 commit comments