Adapted namespace

This commit is contained in:
Kevin Frantz 2018-11-04 11:36:40 +01:00
parent 932568b302
commit 1286717495

View File

@ -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();
} }
}
}