database/seeds/RoleTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        Role::insert([
            ['name' => 'super'],
            ['name' => 'admin'],
            ['name' => 'editor'],
        ]);
    }
public function run ( ) { Role :: insert ( [ [ 'name' => 'super' ] , [ 'name' => 'admin' ] , [ 'name' => 'editor' ] , ] ) ; }
Run the database seeds.
Run the database seeds .