src/RoleManagerProvider.php
public function boot()
    {
        $this->_extendedValidation();
        $this->_loadParts();
        $this->_publish();

        $roleManager = new RoleManager();
        $roleManager->defineAllPermissions();
        $this->app->instance('Mamikon\RoleManager', $roleManager);
        if ($this->app->runningInConsole()) {
            $this->commands(
                [RoleMangerCommand::class,]
            );
        }

    }
public function boot()
    {
        $this->_extendedValidation();
        $this->_loadParts();
        $this->_publish();

        $roleManager = new RoleManager();
        $roleManager->defineAllPermissions();
        $this->app->instance('Mamikon\RoleManager', $roleManager);
        if ($this->app->runningInConsole()) {
            $this->commands(
                [RoleMangerCommand::class,]
            );
        }

    }
Bootstrap the application services.

@return void