diff --git a/application/src/DataFixtures/UsersFixtures.php b/application/src/DataFixtures/DummyFixtures.php similarity index 64% rename from application/src/DataFixtures/UsersFixtures.php rename to application/src/DataFixtures/DummyFixtures.php index acb7588..9e190c4 100644 --- a/application/src/DataFixtures/UsersFixtures.php +++ b/application/src/DataFixtures/DummyFixtures.php @@ -6,7 +6,12 @@ use Doctrine\Bundle\FixturesBundle\Fixture; use Doctrine\Common\Persistence\ObjectManager; use App\Entity\User; -class UsersFixtures extends Fixture +/** + * Never execute this fixture on a livesystem! + * @author kevinfrantz + * + */ +class DummyFixtures extends Fixture { public function load(ObjectManager $manager) { @@ -15,6 +20,6 @@ class UsersFixtures extends Fixture public function adminUser() { $admin = new User(); - $admin->getSource(); + $source = $admin->getSource(); } } diff --git a/application/src/Entity/Source/Data/AbstractDataSource.php b/application/src/Entity/Source/Data/AbstractDataSource.php new file mode 100644 index 0000000..176ca44 --- /dev/null +++ b/application/src/Entity/Source/Data/AbstractDataSource.php @@ -0,0 +1,9 @@ +