Render the paginator using the given view.
@param  string  $view
@param  array  $data
@return string
961661
public function links($view = "default", $data = [])
    {
        extract($data);

        $paginator = $this;

        $elements = $this->elements();

        require dirname(__FILE__) . "/pagination/" . $view . ".php";
    }
618737
public function partial($view, array $data = array())
    {
        $layout = $this->layout;
        $this->layout = null;
        $this->render($view, $data);
        $this->layout = $layout;
    }
455429
public function render( $view, array $data = [] ) {
		if ( in_array( $view, $this->extensions ) ) {
			return '';
		}

		try {
			return $this->instance()->render( $view, $data );
		} catch ( Twig_Error $e ) {
			do_action( 'digster/twig_render_exception', $e );
			$this->render_error( $e );
		}
	}
75200
public function fetch($template, $data = array())
    {
        $view = $this->render($template, $data);

        return ($view) ? $view->render() : '';
    }
1093179
public function output($view, $data = [])
    {
        $path = $this->processOutput($view, $data);

        $content = file_get_contents($path);

        @unlink($path);

        return $content;
    }
732940
public function view(string $view, array $data = []) : Mail
  {
    $this->viewLocation = $view;
    $this->viewArgs = $data;
    return $this;
  }
884100
public function render($view, $data = [], $mergeData = [])
    {
        if (isset($this->aliases[$view])) {
            $view = $this->aliases[$view];
        }

        $view = $this->normalizeName($view);

        return $this->factory->render($view, $data, $mergeData);
    }
891883
protected function render($view)
    {
        $view = $this->getViewPath().$view.'.php';
        if (empty($this->attributes) === true) {
            $this->template->setAttributes(
                $this->attributes = $this->getAttributes()
            );
        }

        return $this->template->render($view);
    }
406505
public function render($view, array $data = null)
	{
		$engine = new Engine($this->templatePath);
		$template = new Template($engine);
		return $template->render($view, $data);
	}
486423
public function create($view = null, array $data = [])
    {
        if (is_null($view)) {
            return $this;
        }

        return $this->render($view, $data, true)->content();
    }
1188687
public function run($view, $data = array())
    {
        return parent::run(
            $view,
            \array_merge(View::get_additional_data($view, $data), $data)
        );
    }
7594
public function render($view = null)
    {
        if ($this->hasChild() && ! $this->hasClassProperty($class = config('navigation.class.has_child', 'treeview'))) {
            $this->setHtmlAttribute('class', $class);
        }

        $data = $this->toArray();

        if (! is_null($view)) {
            return view($view, $data)->render();
        }

        return app('sleeping_owl.template')->view('_partials.navigation.page', $data)->render();
    }
522712
public function fetch($view, $data = array(), Closure $callback = null)
    {
        unset($data['__path'], $data['__path']);

        return $this->make($view, $data)->render($callback);
    }
797205
protected function renderView(array $view)
    {
        if (!array_key_exists('view', $view)) {
            return "";
        }
        $options = (array_key_exists('options', $view)) ? $view['options'] : array();

        return $this->templating->render($view['view'], $options);
    }
542647
public static function render($template, $data = [])
    {
        // @var \Illuminate\View\Factory $factory
        $factory = self::instance()->view();

        // @var \Illuminate\Contracts\View\View $view
        $view = $factory->make($template, $data);

        return $view->render();
    }
774731
public function render($view, array $data = [])
    {
        // First we need to parse the view, which could either be a string or an array
        // containing both an HTML and plain text versions of the view which should
        // be used when sending an e-mail. We will extract both of them out here.
        [$view, $plain, $raw] = $this->parseView($view);

        $data['message'] = $this->createMessage();

        return $this->renderView($view ?: $plain, $data);
    }
275019
protected function buffer($view, array $data = [])
    {
        // Extract variables.
        extract($data);

        // Start buffering.
        ob_start();

        // Load view file (root location is declared in viewsPath var).
        include $this->container->get('config')['viewsPath'] . '/' . $view . '.php';

        // Return string.       
        $buffer = ob_get_contents();
        ob_end_clean();
        return $buffer;
    }