Fix Licences withdrawals

This commit is contained in:
Xbird
2022-04-29 14:30:04 +00:00
parent 4ce623e948
commit e8f61fcccc
15 changed files with 90 additions and 71 deletions

View File

@@ -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
}
}

View 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
}
}