I am creating a custom guard where I need to access the Request object in order to get http headers. I have tried request()
but it is undefined in lumen.
How do I get access to Request object outside of an controller class?
Note: Not a duplicate of Laravel access request object outside controller