original_string: public function attachPdf($filepath)
      {
          $content = file_get_contents($filepath);
          $filename = basename($filepath);
  
          return $this->performEvent('attach', array('filename' => $filename, 'content' => base64_encode($content)));
      }
code: public function attachPdf($filepath)
      {
          $content = file_get_contents($filepath);
          $filename = basename($filepath);
  
          return $this->performEvent('attach', array('filename' => $filename, 'content' => base64_encode($content)));
      }
code_tokens: public function attachPdf ( $ filepath ) { $ content = file_get_contents ( $ filepath ) ; $ filename = basename ( $ filepath ) ; return $ this -> performEvent ( 'attach' , array ( 'filename' => $ filename , 'content' => base64_encode ( $ content ) ) ) ; }
docstring: Attach a PDF to the billogram.
  
  @param $filepath
  @return $this
docstring_tokens: Attach a PDF to the billogram .