Generates a configurable routes controller for the application to mount. It's
configurable because the creator, instead of just being sent to the container to
mount, it can also be called as a function with custom parameters the controller can
receive.
Generates a configurable routes controller for the application to mount. It's configurable because the
creator
, instead of just being sent to the container to mount, it can also be called as a function with custom parameters the controller can receive.Example: Basic usage
Example: Custom parameters