original_string: protected function getHelpResource($key)
      {
          if (!isset($this->helpResources[$key])) {
              throw new \InvalidArgumentException(sprintf("The resource \"%s\" you are asking for doesn't exist.", $key));
          }
  
          return $this->helpResources[$key];
      }
code: protected function getHelpResource($key)
      {
          if (!isset($this->helpResources[$key])) {
              throw new \InvalidArgumentException(sprintf("The resource \"%s\" you are asking for doesn't exist.", $key));
          }
  
          return $this->helpResources[$key];
      }
code_tokens: protected function getHelpResource ( $ key ) { if ( ! isset ( $ this -> helpResources [ $ key ] ) ) { throw new \ InvalidArgumentException ( sprintf ( "The resource \"%s\" you are asking for doesn't exist." , $ key ) ) ; } return $ this -> helpResources [ $ key ] ; }
docstring: Get a resource to help during testing.
  
  @param $key
  
  @return mixed
docstring_tokens: Get a resource to help during testing .