database/seeds/RolesSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $superadmin=roles::create(['name' => 'superadmin']);
        $user=roles::create(['name' => 'user']);
        $suspend=roles::create(['name' => 'suspend']);
    }
public function run ( ) { $ superadmin = roles :: create ( [ 'name' => 'superadmin' ] ) ; $ user = roles :: create ( [ 'name' => 'user' ] ) ; $ suspend = roles :: create ( [ 'name' => 'suspend' ] ) ; }
Run the database seeds.
Run the database seeds .