OrderedFixtureInterface.php 491 B

123456789101112131415161718192021
  1. <?php
  2. namespace Doctrine\Common\DataFixtures;
  3. /**
  4. * Ordered Fixture interface needs to be implemented
  5. * by fixtures, which needs to have a specific order
  6. * when being loaded by directory scan for example
  7. *
  8. * @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com>
  9. * @author Jonathan H. Wage <jonwage@gmail.com>
  10. */
  11. interface OrderedFixtureInterface
  12. {
  13. /**
  14. * Get the order of this fixture
  15. *
  16. * @return integer
  17. */
  18. public function getOrder();
  19. }