original_string: public function linkTo(Service $service, $name = null)
      {
          $link = [
              'to_service' => $service->getResourceUri()
          ];
  
          if (!is_null($name)) {
              $link['name'] = $name;
          }
  
          $this->linked_to_service[] = $link;
      }
code: public function linkTo(Service $service, $name = null)
      {
          $link = [
              'to_service' => $service->getResourceUri()
          ];
  
          if (!is_null($name)) {
              $link['name'] = $name;
          }
  
          $this->linked_to_service[] = $link;
      }
code_tokens: public function linkTo ( Service $ service , $ name = null ) { $ link = [ 'to_service' => $ service -> getResourceUri ( ) ] ; if ( ! is_null ( $ name ) ) { $ link [ 'name' ] = $ name ; } $ this -> linked_to_service [ ] = $ link ; }
docstring: Add a service to link to this service
  
  @param Service $service
  @param string $name
docstring_tokens: Add a service to link to this service