database/seeders/BankSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $bank = [
            [
                'id' => '1',
                'name' => 'ADCB',
                'branch' => 'Mafraq',
                'address' => 'sanaya 1',
                'contactNumber' => '32222 2 2 22'
            ],
        ];
        Bank::insert($bank);
    }
public function run ( ) { $ bank = [ [ 'id' => '1' , 'name' => 'ADCB' , 'branch' => 'Mafraq' , 'address' => 'sanaya 1' , 'contactNumber' => '32222 2 2 22' ] , ] ; Bank :: insert ( $ bank ) ; }
Run the database seeds.
Run the database seeds .