public function make($name, $data = [])
    {
        $view = $this->container->make('view');

        echo $view->make($name, $data)->render();
    }
public function make($name, $data = [])
    {
        $view = $this->container->make('view');

        echo $view->make($name, $data)->render();
    }
public function make ( $ name , $ data = [ ] ) { $ view = $ this -> container -> make ( 'view' ) ; echo $ view -> make ( $ name , $ data ) -> render ( ) ; }
Make view.

@param string $name
@param array $data

@return string
Make view .