original_string: public function render()
      {
          if (is_callable($this->builder)) {
              call_user_func($this->builder, $this);
          }
  
          if ($this->fields->isEmpty()) {
              $this->all();
          }
  
          if (is_array($this->builder)) {
              $this->fields($this->builder);
          }
  
          $this->fields->each->setValue($this->model);
          $this->relations->each->setModel($this->model);
  
          $data = [
              'panel'     => $this->panel->fill($this->fields),
              'relations' => $this->relations,
          ];
  
          return view('admin::show', $data)->render();
      }
code: public function render()
      {
          if (is_callable($this->builder)) {
              call_user_func($this->builder, $this);
          }
  
          if ($this->fields->isEmpty()) {
              $this->all();
          }
  
          if (is_array($this->builder)) {
              $this->fields($this->builder);
          }
  
          $this->fields->each->setValue($this->model);
          $this->relations->each->setModel($this->model);
  
          $data = [
              'panel'     => $this->panel->fill($this->fields),
              'relations' => $this->relations,
          ];
  
          return view('admin::show', $data)->render();
      }
code_tokens: public function render ( ) { if ( is_callable ( $ this -> builder ) ) { call_user_func ( $ this -> builder , $ this ) ; } if ( $ this -> fields -> isEmpty ( ) ) { $ this -> all ( ) ; } if ( is_array ( $ this -> builder ) ) { $ this -> fields ( $ this -> builder ) ; } $ this -> fields -> each -> setValue ( $ this -> model ) ; $ this -> relations -> each -> setModel ( $ this -> model ) ; $ data = [ 'panel' => $ this -> panel -> fill ( $ this -> fields ) , 'relations' => $ this -> relations , ] ; return view ( 'admin::show' , $ data ) -> render ( ) ; }
docstring: Render the show panels.
  
  @return string
docstring_tokens: Render the show panels .