src/Share/Repository/UserRepository.php line 17

Open in your IDE?
  1. <?php
  2. namespace App\Share\Repository;
  3. use App\Share\Entity\User;
  4. use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
  5. use Doctrine\Persistence\ManagerRegistry;
  6. /**
  7.  * @method User|null find($id, $lockMode = null, $lockVersion = null)
  8.  * @method User|null findOneBy(array $criteria, array $orderBy = null)
  9.  * @method User[]    findAll()
  10.  * @method User[]    findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
  11.  */
  12. class UserRepository extends ServiceEntityRepository
  13. {
  14.     public function __construct(ManagerRegistry $registry)
  15.     {
  16.         parent::__construct($registryUser::class);
  17.     }
  18. }