<?php

namespace App\Repository;

use App\Entity\LicenceWithdrawal;
use Doctrine\Persistence\ManagerRegistry;
use App\Repository\Tools\DocumentRepositoriesExtension;

/**
 * @method LicenceWithdrawal|null find($id, $lockMode = null, $lockVersion = null)
 * @method LicenceWithdrawal|null findOneBy(array $criteria, array $orderBy = null)
 * @method LicenceWithdrawal[]    findAll()
 * @method LicenceWithdrawal[]    findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
 */
class LicenceWithdrawalRepository extends DocumentRepositoriesExtension
{
    public function __construct(ManagerRegistry $registry)
    {
        parent::__construct($registry, LicenceWithdrawal::class);
        $this->fields = ['type']; //with title, list fields we can search in
    }
}
