original_string: public function loadTemplate($path)
      {
          $path = $this->path->getDir($path);
  
          if (!file_exists($path)) {
              throw new \Parable\Framework\Exception("Email template '{$path}' does not exist.");
          }
  
          $content = $this->view->partial($path);
          $this->setBody(trim($content));
          return $this;
      }
code: public function loadTemplate($path)
      {
          $path = $this->path->getDir($path);
  
          if (!file_exists($path)) {
              throw new \Parable\Framework\Exception("Email template '{$path}' does not exist.");
          }
  
          $content = $this->view->partial($path);
          $this->setBody(trim($content));
          return $this;
      }
code_tokens: public function loadTemplate ( $ path ) { $ path = $ this -> path -> getDir ( $ path ) ; if ( ! file_exists ( $ path ) ) { throw new \ Parable \ Framework \ Exception ( "Email template '{$path}' does not exist." ) ; } $ content = $ this -> view -> partial ( $ path ) ; $ this -> setBody ( trim ( $ content ) ) ; return $ this ; }
docstring: Load template for this mail. Returns the interpreted output as string.
  
  @param string $path
  
  @return $this
  @throws \Parable\Framework\Exception
docstring_tokens: Load template for this mail . Returns the interpreted output as string .