2019-11-05 16:31:27 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\DataFixtures;
|
|
|
|
|
|
|
|
use Doctrine\Bundle\FixturesBundle\Fixture;
|
2021-04-21 11:22:01 +02:00
|
|
|
use Doctrine\Persistence\ObjectManager;
|
|
|
|
|
2019-11-05 16:31:27 +01:00
|
|
|
|
2021-04-27 10:22:16 +02:00
|
|
|
class AppFixtures extends Fixture {
|
|
|
|
public function load( ObjectManager $manager ) {
|
|
|
|
// $product = new Product();
|
|
|
|
// $manager->persist($product);
|
2019-11-05 16:31:27 +01:00
|
|
|
|
2021-04-27 10:22:16 +02:00
|
|
|
$manager->flush();
|
|
|
|
}
|
2019-11-05 16:31:27 +01:00
|
|
|
}
|