File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,18 @@ interface InternalRequestInterface extends RequestInterface
19
19
/**
20
20
* Returns some data by name
21
21
*
22
- * @param string|null $name
22
+ * @param string $name
23
23
*
24
24
* @return mixed
25
25
*/
26
- public function getData ($ name = null );
26
+ public function getData ($ name );
27
+
28
+ /**
29
+ * Returns all data
30
+ *
31
+ * @return array
32
+ */
33
+ public function getAllData ();
27
34
28
35
/**
29
36
* Checks if the data exists
@@ -34,6 +41,13 @@ public function getData($name = null);
34
41
*/
35
42
public function hasData ($ name );
36
43
44
+ /**
45
+ * Checks if any data exists
46
+ *
47
+ * @return boolean
48
+ */
49
+ public function hasAnyData ();
50
+
37
51
/**
38
52
* Sets some data by name
39
53
*
@@ -88,6 +102,13 @@ public function getFiles();
88
102
*/
89
103
public function hasFile ($ name );
90
104
105
+ /**
106
+ * Checks if any file exists
107
+ *
108
+ * @return boolean
109
+ */
110
+ public function hasFiles ();
111
+
91
112
/**
92
113
* Sets a file by name
93
114
*
You can’t perform that action at this time.
0 commit comments