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
|
|
|
|
|
|
|
class AppFixtures extends Fixture
|
|
|
|
{
|
|
|
|
public function load(ObjectManager $manager)
|
|
|
|
{
|
|
|
|
// $product = new Product();
|
|
|
|
// $manager->persist($product);
|
|
|
|
|
|
|
|
$manager->flush();
|
|
|
|
}
|
|
|
|
}
|