original_string: public function getExecutor($action)
      {
          if (!$this->hasExecutor($action)) {
              throw new \OutOfBoundsException(sprintf(
                  'There is no executor registered for action "%s".',
                  $action
              ));
          }
  
          return $this->executors[$action];
      }
code: public function getExecutor($action)
      {
          if (!$this->hasExecutor($action)) {
              throw new \OutOfBoundsException(sprintf(
                  'There is no executor registered for action "%s".',
                  $action
              ));
          }
  
          return $this->executors[$action];
      }
code_tokens: public function getExecutor ( $ action ) { if ( ! $ this -> hasExecutor ( $ action ) ) { throw new \ OutOfBoundsException ( sprintf ( 'There is no executor registered for action "%s".' , $ action ) ) ; } return $ this -> executors [ $ action ] ; }
docstring: Returns a registered executor for given action.
  
  @param string $action
  
  @throws \OutOfBoundsException
  
  @return ExecutorInterface
docstring_tokens: Returns a registered executor for given action .