original_string: protected function getPayloadResolver(ExecutorInterface $executor)
      {
          $key = $executor->getName();
  
          if (!array_key_exists($key, $this->resolvers)) {
              $resolver = new OptionsResolver();
              $executor->configurePayload($resolver);
  
              $this->resolvers[$key] = $resolver;
          }
  
          return $this->resolvers[$key];
      }
code: protected function getPayloadResolver(ExecutorInterface $executor)
      {
          $key = $executor->getName();
  
          if (!array_key_exists($key, $this->resolvers)) {
              $resolver = new OptionsResolver();
              $executor->configurePayload($resolver);
  
              $this->resolvers[$key] = $resolver;
          }
  
          return $this->resolvers[$key];
      }
code_tokens: protected function getPayloadResolver ( ExecutorInterface $ executor ) { $ key = $ executor -> getName ( ) ; if ( ! array_key_exists ( $ key , $ this -> resolvers ) ) { $ resolver = new OptionsResolver ( ) ; $ executor -> configurePayload ( $ resolver ) ; $ this -> resolvers [ $ key ] = $ resolver ; } return $ this -> resolvers [ $ key ] ; }
docstring: Returns a cached version of the payload resolver for an executor.
  
  @param ExecutorInterface $executor
  
  @return OptionsResolver
docstring_tokens: Returns a cached version of the payload resolver for an executor .