AppFixtures.php 331 B

1234567891011121314151617
  1. <?php
  2. namespace App\DataFixtures;
  3. use Doctrine\Bundle\FixturesBundle\Fixture;
  4. use Doctrine\Persistence\ObjectManager;
  5. class AppFixtures extends Fixture
  6. {
  7. public function load(ObjectManager $manager): void
  8. {
  9. // $product = new Product();
  10. // $manager->persist($product);
  11. $manager->flush();
  12. }
  13. }