original_string: public function getLayout($layoutName, $data = null, $templateRootFolder = null)
      {
          $layout = new \erdiko\core\Layout($layoutName, $data, $this->getThemeName());
          $layout->setTitle($this->getBodyTitle());
  
          if ($templateRootFolder != null) {
              $layout->setViewRootFolder($templateRootFolder);
              $layout->setTemplateRootFolder($templateRootFolder);
          }
  
          return  $layout->toHtml();
      }
code: public function getLayout($layoutName, $data = null, $templateRootFolder = null)
      {
          $layout = new \erdiko\core\Layout($layoutName, $data, $this->getThemeName());
          $layout->setTitle($this->getBodyTitle());
  
          if ($templateRootFolder != null) {
              $layout->setViewRootFolder($templateRootFolder);
              $layout->setTemplateRootFolder($templateRootFolder);
          }
  
          return  $layout->toHtml();
      }
code_tokens: public function getLayout ( $ layoutName , $ data = null , $ templateRootFolder = null ) { $ layout = new \ erdiko \ core \ Layout ( $ layoutName , $ data , $ this -> getThemeName ( ) ) ; $ layout -> setTitle ( $ this -> getBodyTitle ( ) ) ; if ( $ templateRootFolder != null ) { $ layout -> setViewRootFolder ( $ templateRootFolder ) ; $ layout -> setTemplateRootFolder ( $ templateRootFolder ) ; } return $ layout -> toHtml ( ) ; }
docstring: Load a layout with the given data
  
  @param string $layoutName
  @param array $data
  @return string $html, layout contents
docstring_tokens: Load a layout with the given data