You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I try to run "php artisan config:cache" I get an error that prevents Laravel from running completely (ReflectionException). After some debugging I found that the problem was in this part of the config file of CaptainHook
The problem is that Laravel can't cache Closures, so it's throwing an error.
It would be really nice if we could pass to the filter params also a string with the Class and method to be run ("\App\SomeClass@someMethod"), just like you do for the "transformer" and the "response_callback" field.
Do you think it would be possible to make?
and thanks a lot for the amazing libraries you've built!!!
The text was updated successfully, but these errors were encountered:
After I try to run "php artisan config:cache" I get an error that prevents Laravel from running completely (ReflectionException). After some debugging I found that the problem was in this part of the config file of CaptainHook
The problem is that Laravel can't cache Closures, so it's throwing an error.
It would be really nice if we could pass to the filter params also a string with the Class and method to be run ("\App\SomeClass@someMethod"), just like you do for the "transformer" and the "response_callback" field.
Do you think it would be possible to make?
and thanks a lot for the amazing libraries you've built!!!
The text was updated successfully, but these errors were encountered: