29
29
class Filters
30
30
{
31
31
/**
32
- * The original config file
32
+ * The Config\Filters instance
33
33
*
34
34
* @var FiltersConfig
35
35
*/
@@ -50,15 +50,14 @@ class Filters
50
50
protected $ response ;
51
51
52
52
/**
53
- * Handle to the modules config.
53
+ * The Config\Modules instance
54
54
*
55
55
* @var Modules
56
56
*/
57
57
protected $ modules ;
58
58
59
59
/**
60
- * Whether we've done initial processing
61
- * on the filter lists.
60
+ * Whether we've done initial processing on the filter lists.
62
61
*
63
62
* @var bool
64
63
*/
@@ -94,8 +93,8 @@ class Filters
94
93
];
95
94
96
95
/**
97
- * The collection of filter class names and its arguments to execute for the
98
- * current request (URI path).
96
+ * The collection of filter classnames and their arguments to execute for
97
+ * the current request (URI path).
99
98
*
100
99
* This does not include "Required Filters".
101
100
*
@@ -163,10 +162,10 @@ public function __construct($config, RequestInterface $request, ResponseInterfac
163
162
164
163
/**
165
164
* If discoverFilters is enabled in Config then system will try to
166
- * auto-discover custom filters files in Namespaces and allow access to
167
- * the config object via the variable $filters as with the routes file
165
+ * auto-discover custom filters files in namespaces and allow access to
166
+ * the config object via the variable $filters as with the routes file.
168
167
*
169
- * Sample :
168
+ * Sample:
170
169
* $filters->aliases['custom-auth'] = \Acme\Blob\Filters\BlobAuth::class;
171
170
*
172
171
* @deprecated 4.4.2 Use Registrar instead.
@@ -204,8 +203,8 @@ public function setResponse(ResponseInterface $response)
204
203
}
205
204
206
205
/**
207
- * Runs through all of the filters for the specified
208
- * uri and position.
206
+ * Runs through all the filters (except "Required Filters") for the specified
207
+ * URI and position.
209
208
*
210
209
* @param string $uri URI path relative to baseURL
211
210
* @phpstan-param 'before'|'after' $position
0 commit comments