src/JumpGate/ViewResolution/Traits/AutoResolvesViews.php
public function view($view = null, $layout = null)
    {
        $layoutOptions = $this->getLayoutOptions($layout);

        // Set up the default view resolution
        viewResolver()->setUp($layoutOptions, $view);
        $this->setupLayout();
    }
public function view($view = null, $layout = null)
    {
        $layoutOptions = $this->getLayoutOptions($layout);

        // Set up the default view resolution
        viewResolver()->setUp($layoutOptions, $view);
        $this->setupLayout();
    }
public function view ( $ view = null , $ layout = null ) { $ layoutOptions = $ this -> getLayoutOptions ( $ layout ) ; // Set up the default view resolution viewResolver ( ) -> setUp ( $ layoutOptions , $ view ) ; $ this -> setupLayout ( ) ; }
Find the view for the called method.

@param null|string $view
@param null|string $layout

@return $this
Find the view for the called method .