mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 22:17:26 +01:00
Adapted namespace
This commit is contained in:
parent
932568b302
commit
1286717495
@ -1,20 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace DataFixtures;
|
|
||||||
|
namespace App\DataFixtures;
|
||||||
|
|
||||||
use Doctrine\Bundle\FixturesBundle\Fixture;
|
use Doctrine\Bundle\FixturesBundle\Fixture;
|
||||||
use Doctrine\Common\Persistence\ObjectManager;
|
use Doctrine\Common\Persistence\ObjectManager;
|
||||||
|
|
||||||
use App\Entity\User;
|
use App\Entity\User;
|
||||||
|
|
||||||
class UsersFixtures extends Fixture
|
class UsersFixtures extends Fixture
|
||||||
{
|
{
|
||||||
public function load(ObjectManager $manager)
|
public function load(ObjectManager $manager)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function adminUser(){
|
public function adminUser()
|
||||||
|
{
|
||||||
$admin = new User();
|
$admin = new User();
|
||||||
$admin->getSource();
|
$admin->getSource();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user