SharedFixtureInterface.php 623 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace Doctrine\Common\DataFixtures;
  3. use Doctrine\Common\DataFixtures\ReferenceRepository;
  4. /**
  5. * Shared Fixture interface needs to be implemented
  6. * by fixtures, which needs some references to be shared
  7. * among other fixture classes in order to maintain
  8. * relation mapping
  9. *
  10. * @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com>
  11. */
  12. interface SharedFixtureInterface extends FixtureInterface
  13. {
  14. /**
  15. * Set the reference repository
  16. *
  17. * @param ReferenceRepository $referenceRepository
  18. */
  19. function setReferenceRepository(ReferenceRepository $referenceRepository);
  20. }