code: def _build_command_chain(self, command):
          
          next = command
          for intercepter in reversed(self._intercepters):
              next = InterceptedCommand(intercepter, next)
          self._commands_by_name[next.get_name()] = next
docs: Builds execution chain including all intercepters and the specified command.
  
          :param command: the command to build a chain.