Register views.

@return void
511576
public function registerViews()
    {
        $viewPath = resource_path('views/modules/core');

        $sourcePath = __DIR__.'/../resources/views';

        $this->publishes(
            [
                $sourcePath => $viewPath
            ],
            'views'
        );

        $this->loadViewsFrom(array_merge(array_map(function ($path) {
            return $path . '/modules/core';
        }, \Config::get('view.paths')), [$sourcePath]), 'core');
    }
1047812
public function registerViewFinder()
	{
		$me = $this;
		$this->container->bindShared('view.finder', function($app) use ($me)
		{
			$paths = $me->viewPaths;

			return new FileViewFinder($app['files'], $paths);
		});
	}
557665
public function views()
    {
        $this->make($this->paths->indexPath(), $this->view->generate()->index);
        $this->make($this->paths->createPath(), $this->view->generate()->create);
        $this->make($this->paths->showPath(), $this->view->generate()->show);
        $this->make($this->paths->editPath(), $this->view->generate()->edit);
    }
243393
protected static function registerView()
    {
        if (self::$_view === null) {
            Yii::$app->view->on(View::EVENT_BEGIN_BODY, function ($event) {
                echo '<script type="application/ld+json">' . Json::encode($event->sender->params) . '</script>';
            });
                    
            self::$_view = true;
        }
    }
1073996
public function register()
    {
        $this->registerBindings();

        $this->createAliases();

        // Bootstrap Form and HTML Builders
        $this->bootstrapFormAndHtmlBuilders();

        // Merge the config values so they don't have to have a complete configuration
        $this->mergeConfigFrom(__DIR__.'/../config/bumble.php', 'bumble');

        // Register the default views
        $this->loadViewsFrom(__DIR__ . '/../resources/views/', 'bumble');
    }
340319
public function register()
    {
        $this->registerAliases();

        $this->registerProviders();

        if ($this->isLoadFilesOnBoot() === false) {
            $this->registerFiles();
        }

        $this->fireEvent('register');
    }
1332335
public function registerViewFinder()
    {
        $this->app->singleton('view.finder', function ($app) {
            $paths = $app->make('config')->get('view.paths');
            return new FileViewFinder($app->make('files'), $paths);
        });
    }
112664
public function registerViewFinder()
    {
        $this->app['view.finder'] = $this->app->share(function($app)
        {
            $paths = $app['config']['view.paths'];

            return new FileViewFinder($app['files'], $paths);
        });
    }
1200253
public function registerView()
    {
        $finder = $this->app['view']->getFinder();

        $this->app->singleton('view', function ($app) use ($finder) {
            // Next we need to grab the engine resolver instance that will be used by the
            // environment. The resolver will be used by an environment to get each of
            // the various engine implementations such as plain PHP or Blade engine.
            $resolver = $app['view.engine.resolver'];
            $env = new Factory($resolver, $finder, $app['events'], $app['shortcode.compiler']);

            // We will also set the container instance on this view environment since the
            // view composers may be classes registered in the container, which allows
            // for great testable, flexible composers for the application developer.
            $env->setContainer($app);
            $env->share('app', $app);

            return $env;
        });
    }
200415
public function register()
    {
        $this->app->singleton('laravel-acl.directives.canAtLeast', Directives\CanAtLeastDirective::class);
        $this->app->singleton('laravel-acl.directives.role', Directives\RoleDirective::class);
        $this->app->singleton('laravel-acl.directives.hasRole', Directives\HasRoleDirective::class);
    }
331426
public function register()
    {
        $this->loadViewsFrom(__DIR__.'/../../resources/views', 'sigesui');
        $this->publishes([
            __DIR__.'/../../public' => public_path(),
        ], 'sigespublic');
        $this->publishes([
            __DIR__.'/../../resources/views' => base_path('resources/views/vendor/sigesui'),
        ], 'sigesviews');
    }
720241
protected function registerCommands()
    {
        $this->application->addCommands([
            new BuildCommand($this->viewFactory, $this->filesystem),
            new PostCommand($this->viewFactory, $this->filesystem)
        ]);
    }
516848
protected function registerViews()
    {
        // register views within the application with the set namespace
        $this->loadViewsFrom($this->packagePath('resources/views'), 'votee');
        // allow views to be published to the storage directory
        $this->publishes([
            $this->packagePath('resources/views') => base_path('resources/views/vendor/votee'),
        ], 'views');
    }
860254
protected function registerViewer()
    {
        $this->app->bindShared('viewer', function ($app) {
            $view = $app['view'];

            return new Classes\Viewer($view);
        });
    }
320041
public function registerViewFinder() {
        $this->app->bind('view.finder', function ($app) {
            $paths = $app['config']['view.paths'];

            return new FileViewFinder($app['files'], $paths);
        });
    }
1264935
public function register()
    {
        $this->app->singleton('viewBuilder', function ($app) {
            return $app->make(ViewBuilder::class);
        });

        if ($this->app->environment('local') || request('debug') == true) {
            $debugbar = $this->app['debugbar'];

            if ($debugbar->shouldCollect('auto_views')) {
                $debugbar->addCollector(new AutoViewCollector());
            }
        }
    }
1048436
protected function registerErrorViewPaths()
    {
        $paths = collect(config('view.paths'));

        View::replaceNamespace('errors', $paths->map(function ($path) {
            return "{$path}/errors";
        })->push(__DIR__.'/views')->all());
    }