src/ViewServiceProvider.php
public function register()
    {
        Framework::registerPackage('view');

        $this->app->singleton('white-frame.view.view', function ($app) {
            return new \WhiteFrame\View\View();
        });

        Application::alias('WhiteFrame\View', 'WhiteFrame\View\ViewFacade');
    }
public function register()
    {
        Framework::registerPackage('view');

        $this->app->singleton('white-frame.view.view', function ($app) {
            return new \WhiteFrame\View\View();
        });

        Application::alias('WhiteFrame\View', 'WhiteFrame\View\ViewFacade');
    }
Register the service provider.