FixtureInterface.php 408 B

1234567891011121314151617181920
  1. <?php
  2. namespace Doctrine\Common\DataFixtures;
  3. use Doctrine\Common\Persistence\ObjectManager;
  4. /**
  5. * Interface contract for fixture classes to implement.
  6. *
  7. * @author Jonathan H. Wage <jonwage@gmail.com>
  8. */
  9. interface FixtureInterface
  10. {
  11. /**
  12. * Load data fixtures with the passed EntityManager
  13. *
  14. * @param ObjectManager $manager
  15. */
  16. public function load(ObjectManager $manager);
  17. }