mirror of
https://framagit.org/tykayn/date-poll-api
synced 2023-08-25 08:23:11 +02:00
18 lines
332 B
PHP
18 lines
332 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\DataFixtures;
|
||
|
|
||
|
use Doctrine\Bundle\FixturesBundle\Fixture;
|
||
|
use Doctrine\Common\Persistence\ObjectManager;
|
||
|
|
||
|
class AppFixtures extends Fixture
|
||
|
{
|
||
|
public function load(ObjectManager $manager)
|
||
|
{
|
||
|
// $product = new Product();
|
||
|
// $manager->persist($product);
|
||
|
|
||
|
$manager->flush();
|
||
|
}
|
||
|
}
|