original_string: public function setLayout($layout, array $data = array())
      {
          if (is_null($layout)) {
              $this->layout = null;
  
              return;
          }
  
          $this->layout = $this->make($this->resolve($layout), $data);
      }
code: public function setLayout($layout, array $data = array())
      {
          if (is_null($layout)) {
              $this->layout = null;
  
              return;
          }
  
          $this->layout = $this->make($this->resolve($layout), $data);
      }
code_tokens: public function setLayout ( $ layout , array $ data = array ( ) ) { if ( is_null ( $ layout ) ) { $ this -> layout = null ; return ; } $ this -> layout = $ this -> make ( $ this -> resolve ( $ layout ) , $ data ) ; }
docstring: Manually set the layout
  
  This method will output the rendered template content, so you can set the layout on the air
  
  @param string $layout name
  
  @return void
docstring_tokens: Manually set the layout