Register the package views

@see http://laravel.com/docs/5.1/packages#views
@return void
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');
    }
320041
public function registerViewFinder() {
        $this->app->bind('view.finder', function ($app) {
            $paths = $app['config']['view.paths'];

            return new FileViewFinder($app['files'], $paths);
        });
    }
648655
public function register()
    {
        $this->app->singleton('view', function($app)
        {
            // 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'];

            $finder = $app['view.finder'];

            $env = new LayoutView($resolver, $finder, $app['events']);

            // 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;
        });
    }
50812
public function register() {
        $this->app->singleton(PackageMigrateCommand::class, function () {
            return new PackageMigrateCommand($this->app['migrator'], $this->app[AutomaticMigrator::class]);
        });
    }
1093844
public function register()
    {
        $this->loadViewsFrom(__DIR__.'/resources/views/', $this->_packageTag);
        $this->mergeConfigFrom(__DIR__.'/config/exceptions.php', $this->_packageTag);
        $this->publishFiles();
    }
1205461
protected function registerView()
    {
        $this->app['generate.view'] = $this->app->share(function($app)
        {
            $generator = $this->app->make('Way\Generators\Generator');

            return new ViewGeneratorCommand($generator);
        });

        $this->commands('generate.view');
    }
1150128
protected function registerResources()
    {
        $userConfigFile = $this->app->configPath().'/stream-laravel.php';
        $packageConfigFile = __DIR__.'/../../config/config.php';
        $config = $this->app['files']->getRequire($packageConfigFile);

        if (file_exists($userConfigFile)) {
            $userConfig = $this->app['files']->getRequire($userConfigFile);
            $config = array_replace_recursive($config, $userConfig);
        }

        $namespace = 'stream-laravel::';

        foreach($config as $key => $value) {
            $this->app['config']->set($namespace . $key , $value);
        }
    }
1295297
private function registerLaravelTrackerPackage()
    {
        $this->registerProvider(LaravelTrackerServiceProvider::class);

        $config = $this->config();
        $items  = $config->get('arcanesoft.tracker');

        $config->set('laravel-tracker.database', Arr::get($items, 'database'));
        $config->set('laravel-tracker.models',   Arr::get($items, 'models'));
        $config->set('laravel-tracker.tracking', Arr::get($items, 'tracking'));
        $config->set('laravel-tracker.routes',   Arr::get($items, 'routes'));
    }
18617
public function register()
    {
        $this->app['themes'] = $this->app->share(function ($app) {
            return new Repository(
                new Finder(),
                $app['config'],
                $app['view'],
                $app['translator'],
                $app['cache.store']
            );
        });

        $this->registerCommands();
    }
138284
public function registerAssets()
    {
        $view = $this->getView();
        $bundle = SweetalertAsset::register($view);
        $bundle->theme = $this->theme;
    }
1048436
protected function registerErrorViewPaths()
    {
        $paths = collect(config('view.paths'));

        View::replaceNamespace('errors', $paths->map(function ($path) {
            return "{$path}/errors";
        })->push(__DIR__.'/views')->all());
    }
416622
public function register()
    {
        // Load package config to allow use of values
        Config::package('antarctica/laravel-token-blacklist', __DIR__.'/../../config');

        // Register package dependencies' service providers and aliases (so the user doesn't have to in app/config/app.php)
        $this->app->register('Indatus\Dispatcher\ServiceProvider');

        // Register package interfaces with their corresponding implementations
        $this->app->bind(
            'Antarctica\LaravelTokenBlacklist\Repository\TokenBlacklistRepositoryInterface',
            Config::get('laravel-token-blacklist::repository')
        );
    }
34774
private function registerLaravelSeoPackage()
    {
        $this->registerProvider(LaravelSeoServiceProvider::class);

        $this->app->booting(function () {
            Seo::setConfig('database', config('arcanesoft.seo.database'));
            Seo::setConfig('metas', config('arcanesoft.seo.metas'));
            Seo::setConfig('redirects', config('arcanesoft.seo.redirects'));
            Seo::setConfig('redirector.default', 'eloquent');

            Relation::morphMap(config('arcanesoft.seo.morph-map'));
        });
    }
226276
public function registerViewFinder()
    {
        $this->app->bindShared('view.finder', function($app)
        {
            $paths = $app['config']->get('view.paths', array());

            return new FileViewFinder($app['files'], $paths);
        });
    }
412963
public function register()
    {
        $this->shareWithApp();
        $this->setPublishGroups();
        $this->registerAliases();
        $this->registerViews();
        $this->registerArtisanCommands();
    }
1293082
public function register()
	{
		$this->app->bindShared('package.creator', function($app)
		{
			return new PackageCreator($app['files']);
		});

		$this->app->bindShared('command.workbench', function($app)
		{
			return new WorkbenchMakeCommand($app['package.creator']);
		});

		$this->commands('command.workbench');
	}
77762
public function registerViewLoader()
    {
        $this->app->bind('view.loader', function ($app) {

            // Create the FilesystemLoader
            $filesystemLoader = new FilesystemLoader($app['files']);

            // Create the VpageLoader
            $vpageLoader = new VpageLoader();

            // Create the ChainLoader
            $chainLoader = new ChainLoader();
            $chainLoader->addLoader($vpageLoader);
            $chainLoader->addLoader($filesystemLoader);

            return $chainLoader;
        });
    }