public function boot()
    {
        // Fix UTF8MB4 support for MariaDB < 10.2 and MySQL < 5.7
        if (Config::get('database.connections.mysql.charset') === 'utf8mb4') {
            Schema::defaultStringLength(191);
        }

        Paginator::defaultSimpleView('system::pagination.simple-default');

        /*
         * Boot plugins
         */
        PluginManager::instance()->bootAll();

        parent::boot('system');
    }
public function boot()
    {
        // Fix UTF8MB4 support for MariaDB < 10.2 and MySQL < 5.7
        if (Config::get('database.connections.mysql.charset') === 'utf8mb4') {
            Schema::defaultStringLength(191);
        }

        Paginator::defaultSimpleView('system::pagination.simple-default');

        /*
         * Boot plugins
         */
        PluginManager::instance()->bootAll();

        parent::boot('system');
    }
public function boot ( ) { // Fix UTF8MB4 support for MariaDB < 10.2 and MySQL < 5.7 if ( Config :: get ( 'database.connections.mysql.charset' ) === 'utf8mb4' ) { Schema :: defaultStringLength ( 191 ) ; } Paginator :: defaultSimpleView ( 'system::pagination.simple-default' ) ; /*
         * Boot plugins
         */ PluginManager :: instance ( ) -> bootAll ( ) ; parent :: boot ( 'system' ) ; }
Bootstrap the module events.

@return void
Bootstrap the module events .