FixtureInterface.php 405 B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Common\DataFixtures;
  4. use Doctrine\Persistence\ObjectManager;
  5. use function interface_exists;
  6. /**
  7. * Interface contract for fixture classes to implement.
  8. */
  9. interface FixtureInterface
  10. {
  11. /**
  12. * Load data fixtures with the passed EntityManager
  13. */
  14. public function load(ObjectManager $manager);
  15. }
  16. interface_exists(ObjectManager::class);