Fix Licences withdrawals
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
<?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
|
||||
}
|
||||
}
|
||||
22
src/Repository/LicencewithdrawalRepository.php
Normal file
22
src/Repository/LicencewithdrawalRepository.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user