Jenssegers\Blade\Blade::__construct PHP Method

__construct() public method

Constructor.
public __construct ( array $viewPaths, string $cachePath, Illuminate\Contracts\Container\Container $container = null )
$viewPaths array
$cachePath string
$container Illuminate\Contracts\Container\Container
    public function __construct($viewPaths, $cachePath, ContainerInterface $container = null)
    {
        $this->viewPaths = $viewPaths;
        $this->cachePath = $cachePath;
        $this->container = $container ?: new Container();
        $this->setupContainer();
        (new ViewServiceProvider($this->container))->register();
        $this->engineResolver = $this->container->make('view.engine.resolver');
    }