The reason you couldn't get the parameters off the request is because you are calling request helper in the service class, where the application has not finished bootstrapping.
You can use closures to provide the concrete implementation when registering a binding.
The reason you couldn't get the parameters off the request is because you are calling request helper in the service class, where the application has not finished bootstrapping.
You can use closures to provide the concrete implementation when registering a binding.
Try this out.