Réalisation du tp3, tp4, tp5 et tp6 avec documentation.
This commit is contained in:
@@ -12,6 +12,7 @@ class ProductSeeder extends Seeder
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
// TP3 : cinq produits demandés dans l'exercice final.
|
||||
Product::create([
|
||||
'name' => 'Ordinateur',
|
||||
'price' => 899,
|
||||
@@ -42,4 +43,4 @@ class ProductSeeder extends Seeder
|
||||
'stock' => 4
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user