database/seeds/TipoVerboSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $tipos = ["regular", "regular (cambio ortografico)", "irregular"];
        foreach ($tipos as $key => $value) {
            $tipoVerbo = TipoVerbo::create([
            'nombre' => $value,
            ]);            
        }
    }
public function run ( ) { $ tipos = [ " regular " , " regular (cambio ortografico) " , " irregular " ] ; foreach ( $ tipos as $ key => $ value ) { $ tipoVerbo = TipoVerbo :: create ( [ 'nombre' => $ value , ] ) ; } }
Run the database seeds.
Run the database seeds .