Creates a new controller instance.
The validator instance.
The logger instance.
The repl-server router instance.
The session service instance.
Registers used commands 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 session controller.