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 494B

1234567891011121314151617181920212223
  1. <?php
  2. namespace Lc\SovBundle\Factory\User;
  3. use Doctrine\ORM\EntityManagerInterface;
  4. use Lc\CaracoleBundle\Resolver\MerchantResolver;
  5. use Lc\SovBundle\Factory\AbstractFactory;
  6. use Lc\SovBundle\Model\User\UserInterface;
  7. class UserFactory extends AbstractFactory
  8. {
  9. protected $merchantResolver;
  10. public function __construct(EntityManagerInterface $em)
  11. {
  12. parent::__construct($em);
  13. }
  14. public function getEntityClass()
  15. {
  16. return UserInterface::class;
  17. }
  18. }