OtherFixtures.php 546 B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Bundle\FixturesBundle\Tests\Fixtures\FooBundle\DataFixtures;
  4. use Doctrine\Bundle\FixturesBundle\FixtureGroupInterface;
  5. use Doctrine\Bundle\FixturesBundle\ORMFixtureInterface;
  6. use Doctrine\Persistence\ObjectManager;
  7. class OtherFixtures implements ORMFixtureInterface, FixtureGroupInterface
  8. {
  9. public function load(ObjectManager $manager) : void
  10. {
  11. // ...
  12. }
  13. public static function getGroups() : array
  14. {
  15. return ['staging', 'fulfilledDependencyGroup'];
  16. }
  17. }