public function addCommandHandler(ICommandHandler $commandHandler)
    {
        $commandClassName = preg_replace('/(.*)Handler$/i', '$1', self::findBaseName($commandHandler));
    
        $this->commandHandlers[$commandClassName] = $commandHandler;
    }