mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-17 17:42:28 +02:00
19 lines
359 B
PHP
19 lines
359 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\DataFixtures;
|
||
|
|
||
|
use App\Entity\Parts\Part;
|
||
|
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();
|
||
|
}
|
||
|
}
|