Method to boot import adapters

@return  void
355087
private function bootAdapters()
	{
		// include all adapters
		foreach (glob(__DIR__ . DS . 'Import' . DS . 'Adapter' . DS . '*.php') as $adapter)
		{
			require_once $adapter;
		}

		// anonymous function to get adapters
		$isAdapterClass = function($class)
		{
			return (in_array('Hubzero\Content\Import\Adapter', class_implements($class)));
		};

		// set our adapters (any declared class implementing the ResourcesImportInterface)
		$this->adapters = array_values(array_filter(get_declared_classes(), $isAdapterClass));
	}
266106
public function boot()
    {
        $root = '/../..';

        $path_to_views = $root . '/resources/views/settings';

        $this->loadRoutesFrom(__DIR__ . $root . '/routes/web.php');
        $this->loadViewsFrom(__DIR__ . $path_to_views, 'settings');
        $this->loadMigrationsFrom(__DIR__ . $root . '/database/migrations');

        $this->publishes([
            __DIR__ . $path_to_views => resource_path('views/vendor/settings'),
            __DIR__ . $root . '/config/settings.php' => config_path('settings.php'),
        ]);
    }
1352317
public function boot()
    {
        $this->loadViewsFrom(__DIR__.'/views', 'helperstimezones');

        // publishing the basic views
        $this->publishes([
            // publish view files for the UN Starter Kit
            __DIR__.'/unstarter_views' => base_path('resources/views/unstarter'),
            
            __DIR__.'/views' => base_path('resources/views/vendor/unrulynatives/helpers'),
        ], 'views');

        $this->publishes([
            // publish view files for the UN Starter Kit
            __DIR__.'/unstarter_views/auth' => base_path('resources/views/auth'),
            
            // __DIR__.'/unstarter_views/layouts' => base_path('resources/views/layouts'),
            __DIR__.'/unstarter_views/layouts' => base_path('resources/views/unstarter/layouts'),
        ], 'viewslayouts');




        $this->publishes([

        // publish app files (the ROUTES file, Models, Controllers, etc.) for the UN Starter Kit
            __DIR__.'/unstarter_app' => base_path('unstarter'),

        // publish  Controllers to the app's app/Http/Controllers folder
            __DIR__.'/unstarter_controllers' => base_path('app/Http/Controllers'),

        // publish  Models to the app's app/Models folder
            __DIR__.'/unstarter_models' => base_path('app/Models'),

        // publish  Helpers to the app's app/Http/Controllers folder
            __DIR__.'/unstarter_helpers' => base_path('app/Helpers'),

        // publish  Middleware to the app's app/Http/Controllers folder
            __DIR__.'/unstarter_middleware' => base_path('app/Http/Middleware')

        ], 'app');


        $this->publishes([
        // publish migrations for all registered packages 
            __DIR__.'/unstarter_migrations' => base_path('database/migrations')


        ], 'migrations');


        $this->publishes([
            // publish seeds for all registered packages 
            __DIR__.'/unstarter_seeds' => base_path('database/seeds'),
        ], 'seeds');


        $this->publishes([
        // publish  public folder content: css and js
        // Public
            __DIR__.'/../public' => public_path(''),
        ], 'publicassets');




    }
157750
public function boot()
    {
        $configPath = __DIR__.'/../../config/config.php';
        $configKey = 'localization-js';

        // Determines Laravel major version.
        $app = $this->app;
        $laravelMajorVersion = (int) $app::VERSION;

        // Publishes Laravel-JS-Localization package files and merge user and
        // package configurations.
        if ($laravelMajorVersion === 4) {
            $config = $this->app['config']->get($configKey, []);
            $this->app['config']->set($configKey, array_merge(require $configPath, $config));
        } elseif ($laravelMajorVersion === 5) {
            $this->publishes([
                $configPath => config_path("$configKey.php"),
            ]);
            $this->mergeConfigFrom(
                $configPath, $configKey
            );
        }
    }
685568
public function boot()
    {
        $path = realpath(__DIR__ . '/../');
        $this->loadViewsFrom("{$path}/resources/views", 'datatables-helpers');
        $this->mergeConfigFrom("{$path}/resources/config/config.php", 'datatables-config');


        $this->app->make('antares.app')->namespaced(null, function (Router $router) {
            require __DIR__ . DIRECTORY_SEPARATOR . 'backend.php';
        });
    }
46501
public function boot()
    {
        // routs
        if (!$this->app->routesAreCached()) {
            require $this->moduleDir('routes/platformAdmin-routes.php');
        }

        // register views int the form of platformAdmin::home
        $this->loadViewsFrom($this->moduleDir('public/views'), 'platformAdmin');

        // register vendor resources
        $this->publishes([
            $this->moduleDir('public/resources') => public_path('vendor/platformAdmin'),
        ], 'public');

        $this->publishes([
            $this->moduleDir('migrations') => database_path('migrations'),
        ], 'migrations');

    }
1315220
public function boot() {
    $this->package('palmabit/multilanguage');

    $this->registerAliases();
    $this->updateLocales();

    require __DIR__ . "/../../filters.php";
    require __DIR__ . "/../../routes.php";
    require __DIR__ . "/../../composer.php";
  }
223826
public function boot()
    {
        if ($this->app->runningInConsole()) {
            $this->publishes([
                __DIR__ . '/../config/config.php' => config_path('wallet.php'),
            ], 'config');

            $this->publishes([
                __DIR__ . '/../resources/migrations/' => database_path('migrations'),
            ], 'migrations');
        }
    }
981201
public function boot()
    {
        foreach ($this->getFiles() as $filename) {
            $path = $this->path . '/' . $filename;
            
            if (file_exists($path)) {
                require $path;
            };
        }
    }
767485
public function boot()
    {
        if ($this->booted) {
            return;
        }

        array_walk($this->loadedProviders, function ($p) {
            $this->bootProvider($p);
        });

        $this->booted = true;
    }
365178
private function boot() {
        /**
         * making this loop for all type of assets
         * that we include and user in out sub classes
         */
        $this->loop = [
            'include' => $this->include,
            'ignore'  => $this->ignore,
            'css'     => $this->css,
            'js'      => $this->js,
        ];
        
        //modifying the baseDir for use
        $temp_base_dir = $this->baseDir;
        if ( ! is_dir($temp_base_dir)) {
            $temp_base_dir = config('asset.bower_dir') . $temp_base_dir;
        }
        $temp_base_dir = rtrim($temp_base_dir, '/') . '/';
        
        /**
         * foreach contents we search glob patterns or arrays
         * and list of the file that should be included
         */
        foreach ($this->loop as $kind => $contents) {
            if ( ! empty($contents)) {
                if ( ! is_array($contents)) {
                    $contents = [$contents];
                }
                $contentTemp = [];
                foreach ($contents as $content) {
                    if (preg_match("/\*/", $content)) {
                        $temp = $this->glob($temp_base_dir . $content);
                        foreach ($temp as $k => $contentFile) {
                            $contentTemp[] = str_replace($temp_base_dir, '', $contentFile);
                        }
                    } else {
                        $contentTemp[] = $content;
                    }
                }
                $this->loop[$kind] = $contentTemp;
            }
        }
    }
423756
public function boot()
    {

        // If we are in debug mode, listen to database events
        // and log queries to the log file.
        if (env('DB_DEBUG', false)) {

            DB::listen(function ($query) {

                $positional = 0;
                $full_query = '';

                foreach (str_split($query->sql) as $char) {

                    if ($char === '?') {

                        $value = $query->bindings[$positional];

                        if (is_scalar($value))
                            $full_query = $full_query . '"' . $value . '"';
                        else
                            $full_query = $full_query . '[' . gettype($value) . ']';

                        $positional++;

                    } else {

                        $full_query = $full_query . $char;

                    }
                }

                logger()->debug(' ---> QUERY DEBUG: ' . $full_query . ' <---');

            });
        }

        // Inform Laravel how to load migrations
        $this->add_migrations();
    }
189343
public function boot()
    {
        $this->loadTranslationsFrom(__DIR__.'/Translations', 'laralum_dashboard');

        $this->loadViewsFrom(__DIR__.'/Views', 'laralum_dashboard');

        if (!$this->app->routesAreCached()) {
            require __DIR__.'/Routes/web.php';
        }
    }
715187
protected function bootComposer()
    {
        $filesystem = new Filesystem();
        $path = __DIR__.'/vendor/autoload.php';

        if ($filesystem->exists($path)) {
            $filesystem->getRequire($path);
        }
    }
1273747
public function boot()
    {

        /*
         * Routes
         */
        $this->loadRoutesFrom(__DIR__ . '/../Http/routes.php');


        /*
         * Views
         */
        $this->loadViewsFrom(__DIR__ . '/../../resources/views', 'emailverification');
        $this->publishes([
            __DIR__ . '/../../resources/views' => resource_path('views/vendor/emailverification'),
        ], 'views');


        /*
         * Migrations
         */
        $this->loadMigrationsFrom(__DIR__ . '/../../database/migrations');
        $this->publishes([
            __DIR__ . '/../../database/migrations' => database_path('migrations')
        ], 'migrations');


        /*
         * Translations
         */
        $this->loadTranslationsFrom(__DIR__ . '/../../resources/lang', 'emailverification');
        $this->publishes([
            __DIR__ . '/../../resources/lang' => resource_path('lang/vendor/emailverification'),
        ], 'translations');

        /*
         * Config
         */
        $this->publishes([
            __DIR__ . '/../../config/emailverification.php' => config_path('emailverification.php'),
        ]);

    }
757023
public function boot()
    {
        $this->loadTranslationsFrom(__DIR__.'/../lang', 'laraplans');

        $this->publishes([
            __DIR__.'/../database/migrations/' => database_path('migrations')
        ], 'migrations');

        $this->publishes([
            __DIR__.'/../config/laraplans.php' => config_path('laraplans.php')
        ], 'config');

        $this->publishes([
            __DIR__.'/../lang' => resource_path('lang/vendor/laraplans'),
        ]);
    }
49009
public function boot()
    {
        // mysql (Specified key was too long)
        Schema::defaultStringLength(191);

        $appPath = __DIR__ . DIRECTORY_SEPARATOR;
        $basePath = $appPath . ".." . DIRECTORY_SEPARATOR;
        $migrationsPath = $basePath . "database" . DIRECTORY_SEPARATOR . "migrations";
        $viewsPath = $basePath . "resources" . DIRECTORY_SEPARATOR . "views";

        // merge config
        $configPath = $basePath . '/config/config.php';
        $this->mergeConfigFrom($configPath, 'titan');

        // load migrations
        $this->loadMigrationsFrom($migrationsPath);

        $this->loadViewsFrom($viewsPath, "titan");

        $this->registerCommand(SetupCommand::class, 'setup');
        $this->registerCommand(InstallCommand::class, 'install');
        $this->registerCommand(PublishCommand::class, 'publish');
        $this->registerCommand(DatabaseSeedCommand::class, 'db:seed');

        // register RouteServiceProvider
        //$this->app->register('Bpocallaghan\Titan\Providers\RouteServiceProvider');

        // register EventServiceProvider
        $this->app->register('Bpocallaghan\Titan\Providers\EventServiceProvider');

        // register HelperServiceProvider
        $this->app->register('Bpocallaghan\Titan\Providers\HelperServiceProvider');
    }