The function a middleware uses to mount itself in the container.
Optional
This is optional because the implementation can use it as a "global widdleware", or for a specific route.
The resource can choose to be enabled or not by returning the function, or undefined.
undefined
The function a middleware uses to mount itself in the container.