Creates a new controller instance.
The validator instance.
The logger instance.
The templater instance.
The http-server router instance.
The forward service instance.
Registers used middleware in the router.
StaticregisterRegisters the controller as a singleton in the DI container.
The DI container to register in.
StaticresolveResolves the controller from the DI container.
The DI container to resolve from.
The controller instance.
Represents the forward controller.