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-04 11:53:36 +01:00
|
|
|
/**
|
|
|
|
* Never execute this fixture on a livesystem!
|
|
|
|
*
|
2018-11-04 12:25:53 +01:00
|
|
|
* @author kevinfrantz
|
2018-11-04 11:53:36 +01:00
|
|
|
*/
|
|
|
|
class DummyFixtures extends Fixture
|
2018-11-03 15:53:05 +01:00
|
|
|
{
|
|
|
|
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();
|
2018-11-04 11:53:36 +01:00
|
|
|
$source = $admin->getSource();
|
2018-11-03 15:53:05 +01:00
|
|
|
}
|
2018-11-04 11:36:40 +01:00
|
|
|
}
|