original_string: protected function newResource(ResourceConfiguration $config)
      {
          return new Resource(
              $this->newRepository($config),
              $this->newValidator($config),
              $this->newSecurity(),
              $this,
              $config
          );
      }
code: protected function newResource(ResourceConfiguration $config)
      {
          return new Resource(
              $this->newRepository($config),
              $this->newValidator($config),
              $this->newSecurity(),
              $this,
              $config
          );
      }
code_tokens: protected function newResource ( ResourceConfiguration $ config ) { return new Resource ( $ this -> newRepository ( $ config ) , $ this -> newValidator ( $ config ) , $ this -> newSecurity ( ) , $ this , $ config ) ; }
docstring: Creates a new Resource based off its ResourceConfiguration
  
  @param ResourceConfiguration $config
  @return Resource
docstring_tokens: Creates a new Resource based off its ResourceConfiguration