HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/honger.komma.pro/vendor/davejamesmiller/laravel-breadcrumbs/src/View.php
<?php namespace DaveJamesMiller\Breadcrumbs;

use Illuminate\Contracts\View\Factory as ViewFactory;

class View {

	protected $factory;

	public function __construct(ViewFactory $factory)
	{
		$this->factory = $factory;
	}

	public function render($view, $breadcrumbs)
	{
		if (!$view)
			throw new Exception('Breadcrumbs view not specified (check the view in config/breadcrumbs.php, and ensure DaveJamesMiller\Breadcrumbs\ServiceProvider is loaded before any dependants in config/app.php)');

		return $this->factory->make($view, compact('breadcrumbs'))->render();
	}

}