DependentFixtureInterface.php 449 B

12345678910111213141516171819
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Common\DataFixtures;
  4. /**
  5. * DependentFixtureInterface needs to be implemented by fixtures which depend on other fixtures
  6. */
  7. interface DependentFixtureInterface
  8. {
  9. /**
  10. * This method must return an array of fixtures classes
  11. * on which the implementing class depends on
  12. *
  13. * @psalm-return array<class-string<FixtureInterface>>
  14. */
  15. public function getDependencies();
  16. }