original_string: public function registerResource(Resources\Resource $resource)
    {
        $this->resources[strtolower($resource->getName())] = $resource;
    }
code: public function registerResource(Resources\Resource $resource)
    {
        $this->resources[strtolower($resource->getName())] = $resource;
    }
code_tokens: public function registerResource ( Resources \ Resource $ resource ) { $ this -> resources [ strtolower ( $ resource -> getName ( ) ) ] = $ resource ; }
docstring: Registers a resource.
  
  @param  ResourcesResource $resource
  
  @return void
docstring_tokens: Registers a resource .