DependentOnRequiredConstructorArgsFixtures.php 581 B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Bundle\FixturesBundle\Tests\Fixtures\FooBundle\DataFixtures;
  4. use Doctrine\Bundle\FixturesBundle\ORMFixtureInterface;
  5. use Doctrine\Common\DataFixtures\DependentFixtureInterface;
  6. use Doctrine\Persistence\ObjectManager;
  7. class DependentOnRequiredConstructorArgsFixtures implements ORMFixtureInterface, DependentFixtureInterface
  8. {
  9. public function load(ObjectManager $manager) : void
  10. {
  11. // ...
  12. }
  13. public function getDependencies() : array
  14. {
  15. return [RequiredConstructorArgsFixtures::class];
  16. }
  17. }