original_string: protected function render($template, $data = array())
      {
          $view        = null;
          $data        = array_merge_recursive($this->all(), $data);
          $data['app'] = $this->app;
          $template    = $this->resolve($template);
  
  
          if (! $template) {
              return;
          }
  
          if (! $this->layout) {
              $view = $this->make($template, $data);
          } else {
              $view = $this->layout->nest('content', $template, $data);
          }
  
          return $view;
      }
code: protected function render($template, $data = array())
      {
          $view        = null;
          $data        = array_merge_recursive($this->all(), $data);
          $data['app'] = $this->app;
          $template    = $this->resolve($template);
  
  
          if (! $template) {
              return;
          }
  
          if (! $this->layout) {
              $view = $this->make($template, $data);
          } else {
              $view = $this->layout->nest('content', $template, $data);
          }
  
          return $view;
      }
code_tokens: protected function render ( $ template , $ data = array ( ) ) { $ view = null ; $ data = array_merge_recursive ( $ this -> all ( ) , $ data ) ; $ data [ 'app' ] = $ this -> app ; $ template = $ this -> resolve ( $ template ) ; if ( ! $ template ) { return ; } if ( ! $ this -> layout ) { $ view = $ this -> make ( $ template , $ data ) ; } else { $ view = $ this -> layout -> nest ( 'content' , $ template , $ data ) ; } return $ view ; }
docstring: This method will output the rendered template content
  
  @param string $template The path to the Blade template, relative to the Blade templates directory.
  
  @return Illuminate\View\View
docstring_tokens: This method will output the rendered template content