mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 14:07:25 +01:00
Added some dummy fixture
This commit is contained in:
parent
40faa7c5be
commit
98f9a32ddf
20
application/src/DataFixtures/UsersFixtures.php
Normal file
20
application/src/DataFixtures/UsersFixtures.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
namespace DataFixtures;
|
||||
|
||||
use Doctrine\Bundle\FixturesBundle\Fixture;
|
||||
use Doctrine\Common\Persistence\ObjectManager;
|
||||
|
||||
use App\Entity\User;
|
||||
class UsersFixtures extends Fixture
|
||||
{
|
||||
public function load(ObjectManager $manager)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function adminUser(){
|
||||
$admin = new User();
|
||||
$admin->getSource();
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user