choose_handler()
choose_handler() : callable
Chooses and creates a default handler to use based on the environment.
The returned handler is not wrapped by any default middlewares.
Throws
- \RuntimeException
if no viable Handler is available.
Returns
callable —Returns the best handler for the given system.