infinito/application/src/DataFixtures/UsersFixtures.php

21 lines
353 B
PHP
Raw Normal View History

2018-11-03 15:53:05 +01:00
<?php
2018-11-04 11:36:40 +01:00
namespace App\DataFixtures;
2018-11-03 15:53:05 +01:00
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Common\Persistence\ObjectManager;
use App\Entity\User;
2018-11-04 11:36:40 +01:00
2018-11-03 15:53:05 +01:00
class UsersFixtures extends Fixture
{
public function load(ObjectManager $manager)
{
}
2018-11-04 11:36:40 +01:00
public function adminUser()
{
2018-11-03 15:53:05 +01:00
$admin = new User();
$admin->getSource();
}
2018-11-04 11:36:40 +01:00
}