Creates a new controller instance.
The validator instance.
The logger instance.
The repl-server router instance.
The target service instance.
Registers used commands in the router.
StaticregisterStaticresolveResolves the controller from the DI container.
The DI container to resolve from.
The controller instance.
Represents the target controller.