original_string: private function getLayoutName()
      {
          if ($this->layout != null) {
              return $this->layout;
          }
  
          try {
              return $this->template->exists("backend_layout") ? "backend_layout" : $this->theme . "::layout";
          } catch (\LogicException $ex) {
              return $this->theme . "::layout";
          }
      }
code: private function getLayoutName()
      {
          if ($this->layout != null) {
              return $this->layout;
          }
  
          try {
              return $this->template->exists("backend_layout") ? "backend_layout" : $this->theme . "::layout";
          } catch (\LogicException $ex) {
              return $this->theme . "::layout";
          }
      }
code_tokens: private function getLayoutName ( ) { if ( $ this -> layout != null ) { return $ this -> layout ; } try { return $ this -> template -> exists ( "backend_layout" ) ? "backend_layout" : $ this -> theme . "::layout" ; } catch ( \ LogicException $ ex ) { return $ this -> theme . "::layout" ; } }
docstring: Get Current Layout Name in Plates Template Engine style
  If user have created a layout.php in the default folder, use their layout.php.
  Or else use the default layout.
  
  @return string Layout Name
docstring_tokens: Get Current Layout Name in Plates Template Engine style If user have created a layout . php in the default folder use their layout . php . Or else use the default layout .