src/RolesServiceProvider.php
private function loadSeedsFrom()
    {
        if (config('roles.defaultSeeds.PermissionsTableSeeder')) {
            $this->app['seed.handler']->register(
                DefaultPermissionsTableSeeder::class
            );
        }

        if (config('roles.defaultSeeds.RolesTableSeeder')) {
            $this->app['seed.handler']->register(
                DefaultRolesTableSeeder::class
            );
        }

        if (config('roles.defaultSeeds.ConnectRelationshipsSeeder')) {
            $this->app['seed.handler']->register(
                DefaultConnectRelationshipsSeeder::class
            );
        }

        if (config('roles.defaultSeeds.UsersTableSeeder')) {
            $this->app['seed.handler']->register(
                DefaultUsersTableSeeder::class
            );
        }
    }
private function loadSeedsFrom()
    {
        if (config('roles.defaultSeeds.PermissionsTableSeeder')) {
            $this->app['seed.handler']->register(
                DefaultPermissionsTableSeeder::class
            );
        }

        if (config('roles.defaultSeeds.RolesTableSeeder')) {
            $this->app['seed.handler']->register(
                DefaultRolesTableSeeder::class
            );
        }

        if (config('roles.defaultSeeds.ConnectRelationshipsSeeder')) {
            $this->app['seed.handler']->register(
                DefaultConnectRelationshipsSeeder::class
            );
        }

        if (config('roles.defaultSeeds.UsersTableSeeder')) {
            $this->app['seed.handler']->register(
                DefaultUsersTableSeeder::class
            );
        }
    }
private function loadSeedsFrom ( ) { if ( config ( 'roles.defaultSeeds.PermissionsTableSeeder' ) ) { $ this -> app [ 'seed.handler' ] -> register ( DefaultPermissionsTableSeeder :: class ) ; } if ( config ( 'roles.defaultSeeds.RolesTableSeeder' ) ) { $ this -> app [ 'seed.handler' ] -> register ( DefaultRolesTableSeeder :: class ) ; } if ( config ( 'roles.defaultSeeds.ConnectRelationshipsSeeder' ) ) { $ this -> app [ 'seed.handler' ] -> register ( DefaultConnectRelationshipsSeeder :: class ) ; } if ( config ( 'roles.defaultSeeds.UsersTableSeeder' ) ) { $ this -> app [ 'seed.handler' ] -> register ( DefaultUsersTableSeeder :: class ) ; } }
Loads a seeds.

@return void
Loads a seeds .