Replies: 4 comments 5 replies
-
Here are my points about it:
|
Beta Was this translation helpful? Give feedback.
-
The purpose of it is to return true false eventhough it allows to pass other data types; Take a look at custom filters. The purpose of custom filters is to create such "long" filter functions. |
Beta Was this translation helpful? Give feedback.
-
Then create a class-based middleware, create a check there , and add download to data. |
Beta Was this translation helpful? Give feedback.
-
@byehack you totally misunderstood the concept :) To pass any extra parameters to the handler you should use middleware |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions