original_string: public function addIcalendarEvent(\sb\ICalendar\Event $event)
      {
  
          $a = new \sb\Email\Attachment();
          $a->mime_type = 'text/calendar;';
          $a->setEncoding('8bit');
          $a->name = 'event.ics';
          $a->contents = $event->__toString();
  
          $this->addAttachment($a);
      }
code: public function addIcalendarEvent(\sb\ICalendar\Event $event)
      {
  
          $a = new \sb\Email\Attachment();
          $a->mime_type = 'text/calendar;';
          $a->setEncoding('8bit');
          $a->name = 'event.ics';
          $a->contents = $event->__toString();
  
          $this->addAttachment($a);
      }
code_tokens: public function addIcalendarEvent ( \ sb \ ICalendar \ Event $ event ) { $ a = new \ sb \ Email \ Attachment ( ) ; $ a -> mime_type = 'text/calendar;' ; $ a -> setEncoding ( '8bit' ) ; $ a -> name = 'event.ics' ; $ a -> contents = $ event -> __toString ( ) ; $ this -> addAttachment ( $ a ) ; }
docstring: Add an \sb\ICalendar\Event request
  
  @param \sb\ICalendar\Event $event
docstring_tokens: Add an \ sb \ ICalendar \ Event request