RequiredConstructorArgsFixtures.php 436 B

1234567891011121314151617181920
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Bundle\FixturesBundle\Tests\Fixtures\FooBundle\DataFixtures;
  4. use Doctrine\Bundle\FixturesBundle\ORMFixtureInterface;
  5. use Doctrine\Persistence\ObjectManager;
  6. class RequiredConstructorArgsFixtures implements ORMFixtureInterface
  7. {
  8. public function __construct(string $fooRequiredArg)
  9. {
  10. }
  11. public function load(ObjectManager $manager) : void
  12. {
  13. // ...
  14. }
  15. }