original_string: protected function addResource($resource)
      {
          $resource = trim($resource);
          if (strlen($resource)) {
              $this->resources[] = $resource;
          }
      }
code: protected function addResource($resource)
      {
          $resource = trim($resource);
          if (strlen($resource)) {
              $this->resources[] = $resource;
          }
      }
code_tokens: protected function addResource ( $ resource ) { $ resource = trim ( $ resource ) ; if ( strlen ( $ resource ) ) { $ this -> resources [ ] = $ resource ; } }
docstring: Add an associated resource
  
  @param string $resource Associated resource
docstring_tokens: Add an associated resource