original_string: public function setView($view, $variables = [])
      {
          if (!empty($variables)) {
              $this->with($variables);
          }
  
          $this->view = $view;
      }
code: public function setView($view, $variables = [])
      {
          if (!empty($variables)) {
              $this->with($variables);
          }
  
          $this->view = $view;
      }
code_tokens: public function setView ( $ view , $ variables = [ ] ) { if ( ! empty ( $ variables ) ) { $ this -> with ( $ variables ) ; } $ this -> view = $ view ; }
docstring: Set a view to render.
  
  @param string $view
  @param array  $variables
docstring_tokens: Set a view to render .