You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UserFactory.php 381B

2 jaren geleden
3 jaren geleden
3 jaren geleden
2 jaren geleden
3 jaren geleden
12345678910111213141516171819
  1. <?php
  2. namespace Lc\SovBundle\Factory\User;
  3. use Lc\SovBundle\Container\User\UserContainer;
  4. use Lc\SovBundle\Factory\AbstractFactory;
  5. use Lc\SovBundle\Model\User\UserInterface;
  6. class UserFactory extends AbstractFactory
  7. {
  8. public function create(): UserInterface
  9. {
  10. $class = UserContainer::getEntityFqcn();
  11. $user = new $class;
  12. return $user;
  13. }
  14. }