FixtureGroupInterface.php 396 B

12345678910111213141516171819
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Bundle\FixturesBundle;
  4. /**
  5. * FixtureGroupInterface can to be implemented by fixtures that belong in groups
  6. */
  7. interface FixtureGroupInterface
  8. {
  9. /**
  10. * This method must return an array of groups
  11. * on which the implementing class belongs to
  12. *
  13. * @return string[]
  14. */
  15. public static function getGroups() : array;
  16. }