namespace App\Entity\Address; | namespace App\Entity\Address; | ||||
use App\Repository\AddressRepository; | |||||
use Lc\CaracoleBundle\Repository\Address\AddressRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Address\AddressInterface; | use Lc\CaracoleBundle\Model\Address\AddressInterface; | ||||
use Lc\CaracoleBundle\Model\Address\AddressModel; | use Lc\CaracoleBundle\Model\Address\AddressModel; |
namespace App\Entity\Common; | namespace App\Entity\Common; | ||||
use App\Repository\TaxRateRepository; | |||||
use Lc\CaracoleBundle\Repository\Common\TaxRateRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Common\TaxRateInterface; | use Lc\CaracoleBundle\Model\Common\TaxRateInterface; | ||||
use Lc\CaracoleBundle\Model\Common\TaxRateModel; | use Lc\CaracoleBundle\Model\Common\TaxRateModel; |
namespace App\Entity\Common; | namespace App\Entity\Common; | ||||
use App\Repository\UnitRepository; | |||||
use Lc\CaracoleBundle\Repository\Common\UnitRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Common\UnitInterface; | use Lc\CaracoleBundle\Model\Common\UnitInterface; | ||||
use Lc\CaracoleBundle\Model\Common\UnitModel; | use Lc\CaracoleBundle\Model\Common\UnitModel; |
namespace App\Entity\Credit; | namespace App\Entity\Credit; | ||||
use App\Repository\CreditConfigRepository; | |||||
use Lc\CaracoleBundle\Repository\Credit\CreditConfigRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Credit\CreditConfigInterface; | use Lc\CaracoleBundle\Model\Credit\CreditConfigInterface; | ||||
use Lc\CaracoleBundle\Model\Credit\CreditConfigModel; | use Lc\CaracoleBundle\Model\Credit\CreditConfigModel; |
namespace App\Entity\Credit; | namespace App\Entity\Credit; | ||||
use App\Repository\CreditHistoryRepository; | |||||
use Lc\CaracoleBundle\Repository\Credit\CreditHistoryRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Credit\CreditHistoryInterface; | use Lc\CaracoleBundle\Model\Credit\CreditHistoryInterface; | ||||
use Lc\CaracoleBundle\Model\Credit\CreditHistoryModel; | use Lc\CaracoleBundle\Model\Credit\CreditHistoryModel; |
namespace App\Entity\Merchant; | namespace App\Entity\Merchant; | ||||
use App\Repository\MerchantRepository; | |||||
use Lc\CaracoleBundle\Repository\Merchant\MerchantRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface; | use Lc\CaracoleBundle\Model\Merchant\MerchantInterface; | ||||
use Lc\CaracoleBundle\Model\Merchant\MerchantModel; | use Lc\CaracoleBundle\Model\Merchant\MerchantModel; |
namespace App\Entity\Merchant; | namespace App\Entity\Merchant; | ||||
use App\Repository\MerchantConfigRepository; | |||||
use Lc\CaracoleBundle\Repository\Merchant\MerchantConfigRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface; | use Lc\CaracoleBundle\Model\Merchant\MerchantInterface; | ||||
use Lc\CaracoleBundle\Model\Merchant\MerchantModel; | use Lc\CaracoleBundle\Model\Merchant\MerchantModel; |
namespace App\Entity\Newsletter; | namespace App\Entity\Newsletter; | ||||
use App\Repository\NewsletterRepository; | |||||
use Lc\CaracoleBundle\Repository\Newsletter\NewsletterRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Newsletter\NewsletterInterface; | use Lc\CaracoleBundle\Model\Newsletter\NewsletterInterface; | ||||
use Lc\CaracoleBundle\Model\Newsletter\NewsletterModel; | use Lc\CaracoleBundle\Model\Newsletter\NewsletterModel; |
namespace App\Entity\Order; | namespace App\Entity\Order; | ||||
use App\Repository\OrderPaymentRepository; | |||||
use Lc\CaracoleBundle\Repository\Order\OrderPaymentRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Order\OrderPaymentInterface; | use Lc\CaracoleBundle\Model\Order\OrderPaymentInterface; | ||||
use Lc\CaracoleBundle\Model\Order\OrderPaymentModel; | use Lc\CaracoleBundle\Model\Order\OrderPaymentModel; |
namespace App\Entity\Order; | namespace App\Entity\Order; | ||||
use App\Repository\OrderProductRepository; | |||||
use Lc\CaracoleBundle\Repository\Order\OrderProductRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Order\OrderProductInterface; | use Lc\CaracoleBundle\Model\Order\OrderProductInterface; | ||||
use Lc\CaracoleBundle\Model\Order\OrderProductModel; | use Lc\CaracoleBundle\Model\Order\OrderProductModel; |
namespace App\Entity\Order; | namespace App\Entity\Order; | ||||
use App\Repository\OrderProductReductionCatalogRepository; | |||||
use Lc\CaracoleBundle\Repository\Order\OrderProductReductionCatalogRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Order\OrderProductReductionCatalogInterface; | use Lc\CaracoleBundle\Model\Order\OrderProductReductionCatalogInterface; | ||||
use Lc\CaracoleBundle\Model\Order\OrderProductReductionCatalogModel; | use Lc\CaracoleBundle\Model\Order\OrderProductReductionCatalogModel; |
namespace App\Entity\Order; | namespace App\Entity\Order; | ||||
use App\Repository\OrderProductRefundRepository; | |||||
use Lc\CaracoleBundle\Repository\Order\OrderProductRefundRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Order\OrderProductRefundInterface; | use Lc\CaracoleBundle\Model\Order\OrderProductRefundInterface; | ||||
use Lc\CaracoleBundle\Model\Order\OrderProductRefundModel; | use Lc\CaracoleBundle\Model\Order\OrderProductRefundModel; |
namespace App\Entity\Order; | namespace App\Entity\Order; | ||||
use App\Repository\OrderReductionCartRepository; | |||||
use Lc\CaracoleBundle\Repository\Order\OrderReductionCartRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Order\OrderReductionCartInterface; | use Lc\CaracoleBundle\Model\Order\OrderReductionCartInterface; | ||||
use Lc\CaracoleBundle\Model\Order\OrderReductionCartModel; | use Lc\CaracoleBundle\Model\Order\OrderReductionCartModel; |
namespace App\Entity\Order; | namespace App\Entity\Order; | ||||
use App\Repository\OrderReductionCreditRepository; | |||||
use Lc\CaracoleBundle\Repository\Order\OrderReductionCreditRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Order\OrderReductionCreditInterface; | use Lc\CaracoleBundle\Model\Order\OrderReductionCreditInterface; | ||||
use Lc\CaracoleBundle\Model\Order\OrderReductionCreditModel; | use Lc\CaracoleBundle\Model\Order\OrderReductionCreditModel; |
namespace App\Entity\Order; | namespace App\Entity\Order; | ||||
use App\Repository\OrderRefundRepository; | |||||
use Lc\CaracoleBundle\Repository\Order\OrderRefundRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Order\OrderRefundInterface; | use Lc\CaracoleBundle\Model\Order\OrderRefundInterface; | ||||
use Lc\CaracoleBundle\Model\Order\OrderRefundModel; | use Lc\CaracoleBundle\Model\Order\OrderRefundModel; |
namespace App\Entity\Order; | namespace App\Entity\Order; | ||||
use App\Repository\OrderShopRepository; | |||||
use Lc\CaracoleBundle\Repository\Order\OrderShopRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Order\OrderShopInterface; | use Lc\CaracoleBundle\Model\Order\OrderShopInterface; | ||||
use Lc\CaracoleBundle\Model\Order\OrderShopModel; | use Lc\CaracoleBundle\Model\Order\OrderShopModel; |
namespace App\Entity\Order; | namespace App\Entity\Order; | ||||
use App\Repository\OrderStatusRepository; | |||||
use Lc\CaracoleBundle\Repository\Order\OrderStatusRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Order\OrderStatusInterface; | use Lc\CaracoleBundle\Model\Order\OrderStatusInterface; | ||||
use Lc\CaracoleBundle\Model\Order\OrderStatusModel; | use Lc\CaracoleBundle\Model\Order\OrderStatusModel; |
namespace App\Entity\Order; | namespace App\Entity\Order; | ||||
use App\Repository\OrderStatusHistoryRepository; | |||||
use Lc\CaracoleBundle\Repository\Order\OrderStatusHistoryRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Order\OrderStatusHistoryInterface; | use Lc\CaracoleBundle\Model\Order\OrderStatusHistoryInterface; | ||||
use Lc\CaracoleBundle\Model\Order\OrderStatusHistoryModel; | use Lc\CaracoleBundle\Model\Order\OrderStatusHistoryModel; |
namespace App\Entity\PointSale; | namespace App\Entity\PointSale; | ||||
use App\Repository\PointSaleRepository; | |||||
use Lc\CaracoleBundle\Repository\PointSale\PointSaleRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\PointSale\PointSaleInterface; | use Lc\CaracoleBundle\Model\PointSale\PointSaleInterface; | ||||
use Lc\CaracoleBundle\Model\PointSale\PointSaleModel; | use Lc\CaracoleBundle\Model\PointSale\PointSaleModel; |
namespace App\Entity\PointSale; | namespace App\Entity\PointSale; | ||||
use App\Repository\PointSaleDayInfoRepository; | |||||
use Lc\CaracoleBundle\Repository\PointSale\PointSaleDayInfoRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\PointSale\PointSaleDayInfoInterface; | use Lc\CaracoleBundle\Model\PointSale\PointSaleDayInfoInterface; | ||||
use Lc\CaracoleBundle\Model\PointSale\PointSaleDayInfoModel; | use Lc\CaracoleBundle\Model\PointSale\PointSaleDayInfoModel; |
namespace App\Entity\Product; | namespace App\Entity\Product; | ||||
use App\Repository\ProductRepository; | |||||
use Lc\CaracoleBundle\Repository\Product\ProductRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Product\ProductInterface; | use Lc\CaracoleBundle\Model\Product\ProductInterface; | ||||
use Lc\CaracoleBundle\Model\Product\ProductModel; | use Lc\CaracoleBundle\Model\Product\ProductModel; |
namespace App\Entity\Product; | namespace App\Entity\Product; | ||||
use App\Repository\ProductCategoryRepository; | |||||
use Lc\CaracoleBundle\Repository\Product\ProductCategoryRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Product\ProductCategoryInterface; | use Lc\CaracoleBundle\Model\Product\ProductCategoryInterface; | ||||
use Lc\CaracoleBundle\Model\Product\ProductCategoryModel; | use Lc\CaracoleBundle\Model\Product\ProductCategoryModel; |
namespace App\Entity\Product; | namespace App\Entity\Product; | ||||
use App\Repository\ProductFamilyRepository; | |||||
use Lc\CaracoleBundle\Repository\Product\ProductFamilyRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Product\ProductFamilyInterface; | use Lc\CaracoleBundle\Model\Product\ProductFamilyInterface; | ||||
use Lc\CaracoleBundle\Model\Product\ProductFamilyModel; | use Lc\CaracoleBundle\Model\Product\ProductFamilyModel; |
namespace App\Entity\Reduction; | namespace App\Entity\Reduction; | ||||
use App\Repository\ReductionCartRepository; | |||||
use Lc\CaracoleBundle\Repository\Reduction\ReductionCartRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Reduction\ReductionCartInterface; | use Lc\CaracoleBundle\Model\Reduction\ReductionCartInterface; | ||||
use Lc\CaracoleBundle\Model\Reduction\ReductionCartModel; | use Lc\CaracoleBundle\Model\Reduction\ReductionCartModel; |
namespace App\Entity\Reduction; | namespace App\Entity\Reduction; | ||||
use App\Repository\ReductionCatalogRepository; | |||||
use Lc\CaracoleBundle\Repository\Reduction\ReductionCatalogRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Reduction\ReductionCatalogInterface; | use Lc\CaracoleBundle\Model\Reduction\ReductionCatalogInterface; | ||||
use Lc\CaracoleBundle\Model\Reduction\ReductionCatalogModel; | use Lc\CaracoleBundle\Model\Reduction\ReductionCatalogModel; |
namespace App\Entity\Reduction; | namespace App\Entity\Reduction; | ||||
use App\Repository\ReductionCreditRepository; | |||||
use Lc\CaracoleBundle\Repository\Reduction\ReductionCreditRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Reduction\ReductionCreditInterface; | use Lc\CaracoleBundle\Model\Reduction\ReductionCreditInterface; | ||||
use Lc\CaracoleBundle\Model\Reduction\ReductionCreditModel; | use Lc\CaracoleBundle\Model\Reduction\ReductionCreditModel; |
namespace App\Entity\Reminder; | namespace App\Entity\Reminder; | ||||
use App\Repository\ReminderRepository; | |||||
use Lc\CaracoleBundle\Repository\Reminder\ReminderRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Reminder\ReminderInterface; | use Lc\CaracoleBundle\Model\Reminder\ReminderInterface; | ||||
use Lc\CaracoleBundle\Model\Reminder\ReminderModel; | use Lc\CaracoleBundle\Model\Reminder\ReminderModel; |
namespace App\Entity\Section; | namespace App\Entity\Section; | ||||
use App\Repository\SectionRepository; | |||||
use Lc\CaracoleBundle\Repository\Section\SectionRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Section\SectionInterface; | use Lc\CaracoleBundle\Model\Section\SectionInterface; | ||||
use Lc\CaracoleBundle\Model\Section\SectionModel; | use Lc\CaracoleBundle\Model\Section\SectionModel; |
namespace App\Entity\Site; | namespace App\Entity\Site; | ||||
use App\Repository\NewsRepository; | |||||
use Lc\CaracoleBundle\Repository\Site\NewsRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Site\NewsInterface; | use Lc\CaracoleBundle\Model\Site\NewsInterface; | ||||
use Lc\CaracoleBundle\Model\Site\NewsModel; | use Lc\CaracoleBundle\Model\Site\NewsModel; |
namespace App\Entity\Site; | namespace App\Entity\Site; | ||||
use App\Repository\PageRepository; | |||||
use Lc\CaracoleBundle\Repository\Site\PageRepository; | |||||
use Doctrine\Common\Collections\ArrayCollection; | use Doctrine\Common\Collections\ArrayCollection; | ||||
use Doctrine\Common\Collections\Collection; | use Doctrine\Common\Collections\Collection; | ||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; |
namespace App\Entity\Ticket; | namespace App\Entity\Ticket; | ||||
use App\Repository\TicketRepository; | |||||
use Lc\CaracoleBundle\Repository\Ticket\TicketRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Ticket\TicketInterface; | use Lc\CaracoleBundle\Model\Ticket\TicketInterface; | ||||
use Lc\CaracoleBundle\Model\Ticket\TicketModel; | use Lc\CaracoleBundle\Model\Ticket\TicketModel; |
namespace App\Entity\Ticket; | namespace App\Entity\Ticket; | ||||
use App\Repository\TicketMessageRepository; | |||||
use Lc\CaracoleBundle\Repository\Ticket\TicketMessageRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Ticket\TicketMessageInterface; | use Lc\CaracoleBundle\Model\Ticket\TicketMessageInterface; | ||||
use Lc\CaracoleBundle\Model\Ticket\TicketMessageModel; | use Lc\CaracoleBundle\Model\Ticket\TicketMessageModel; |
namespace App\Entity\User; | namespace App\Entity\User; | ||||
use App\Repository\GroupUserRepository; | |||||
use Lc\CaracoleBundle\Repository\User\GroupUserRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\User\GroupUserInterface; | use Lc\CaracoleBundle\Model\User\GroupUserInterface; | ||||
use Lc\CaracoleBundle\Model\User\GroupUserModel; | use Lc\CaracoleBundle\Model\User\GroupUserModel; |
namespace App\Entity\User; | namespace App\Entity\User; | ||||
use App\Repository\UserMerchantRepository; | |||||
use Lc\CaracoleBundle\Repository\User\UserMerchantRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\User\UserMerchantInterface; | use Lc\CaracoleBundle\Model\User\UserMerchantInterface; | ||||
use Lc\CaracoleBundle\Model\User\UserMerchantModel; | use Lc\CaracoleBundle\Model\User\UserMerchantModel; |
namespace App\Entity\User; | namespace App\Entity\User; | ||||
use App\Repository\UserPointSaleRepository; | |||||
use Lc\CaracoleBundle\Repository\User\UserPointSaleRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\User\UserPointSaleInterface; | use Lc\CaracoleBundle\Model\User\UserPointSaleInterface; | ||||
use Lc\CaracoleBundle\Model\User\UserPointSaleModel; | use Lc\CaracoleBundle\Model\User\UserPointSaleModel; |
namespace App\Entity\User; | namespace App\Entity\User; | ||||
use App\Repository\VisitorRepository; | |||||
use Lc\CaracoleBundle\Repository\User\VisitorRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\User\VisitorInterface; | use Lc\CaracoleBundle\Model\User\VisitorInterface; | ||||
use Lc\CaracoleBundle\Model\User\VisitorModel; | use Lc\CaracoleBundle\Model\User\VisitorModel; |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\Address; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method Address|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method Address|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method Address[] findAll() | |||||
* @method Address[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class AddressRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, Address::class); | |||||
} | |||||
// /** | |||||
// * @return Address[] Returns an array of Address objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('a') | |||||
->andWhere('a.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('a.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?Address | |||||
{ | |||||
return $this->createQueryBuilder('a') | |||||
->andWhere('a.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\CreditConfig; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method CreditConfig|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method CreditConfig|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method CreditConfig[] findAll() | |||||
* @method CreditConfig[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class CreditConfigRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, CreditConfig::class); | |||||
} | |||||
// /** | |||||
// * @return CreditConfig[] Returns an array of CreditConfig objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('c') | |||||
->andWhere('c.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('c.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?CreditConfig | |||||
{ | |||||
return $this->createQueryBuilder('c') | |||||
->andWhere('c.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\CreditHistory; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method CreditHistory|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method CreditHistory|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method CreditHistory[] findAll() | |||||
* @method CreditHistory[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class CreditHistoryRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, CreditHistory::class); | |||||
} | |||||
// /** | |||||
// * @return CreditHistory[] Returns an array of CreditHistory objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('c') | |||||
->andWhere('c.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('c.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?CreditHistory | |||||
{ | |||||
return $this->createQueryBuilder('c') | |||||
->andWhere('c.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\GroupUser; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method GroupUser|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method GroupUser|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method GroupUser[] findAll() | |||||
* @method GroupUser[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class GroupUserRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, GroupUser::class); | |||||
} | |||||
// /** | |||||
// * @return GroupUser[] Returns an array of GroupUser objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('g') | |||||
->andWhere('g.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('g.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?GroupUser | |||||
{ | |||||
return $this->createQueryBuilder('g') | |||||
->andWhere('g.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\MerchantConfig; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method MerchantConfig|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method MerchantConfig|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method MerchantConfig[] findAll() | |||||
* @method MerchantConfig[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class MerchantConfigRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, MerchantConfig::class); | |||||
} | |||||
// /** | |||||
// * @return MerchantConfig[] Returns an array of MerchantConfig objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('m') | |||||
->andWhere('m.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('m.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?MerchantConfig | |||||
{ | |||||
return $this->createQueryBuilder('m') | |||||
->andWhere('m.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\Merchant; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method Merchant|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method Merchant|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method Merchant[] findAll() | |||||
* @method Merchant[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class MerchantRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, Merchant::class); | |||||
} | |||||
// /** | |||||
// * @return Merchant[] Returns an array of Merchant objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('m') | |||||
->andWhere('m.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('m.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?Merchant | |||||
{ | |||||
return $this->createQueryBuilder('m') | |||||
->andWhere('m.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\News; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method News|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method News|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method News[] findAll() | |||||
* @method News[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class NewsRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, News::class); | |||||
} | |||||
// /** | |||||
// * @return News[] Returns an array of News objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('n') | |||||
->andWhere('n.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('n.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?News | |||||
{ | |||||
return $this->createQueryBuilder('n') | |||||
->andWhere('n.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\Newsletter; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method Newsletter|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method Newsletter|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method Newsletter[] findAll() | |||||
* @method Newsletter[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class NewsletterRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, Newsletter::class); | |||||
} | |||||
// /** | |||||
// * @return Newsletter[] Returns an array of Newsletter objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('n') | |||||
->andWhere('n.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('n.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?Newsletter | |||||
{ | |||||
return $this->createQueryBuilder('n') | |||||
->andWhere('n.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\OrderPayment; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method OrderPayment|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method OrderPayment|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method OrderPayment[] findAll() | |||||
* @method OrderPayment[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class OrderPaymentRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, OrderPayment::class); | |||||
} | |||||
// /** | |||||
// * @return OrderPayment[] Returns an array of OrderPayment objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('o.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?OrderPayment | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\OrderProductReductionCatalog; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method OrderProductReductionCatalog|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method OrderProductReductionCatalog|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method OrderProductReductionCatalog[] findAll() | |||||
* @method OrderProductReductionCatalog[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class OrderProductReductionCatalogRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, OrderProductReductionCatalog::class); | |||||
} | |||||
// /** | |||||
// * @return OrderProductReductionCatalog[] Returns an array of OrderProductReductionCatalog objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('o.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?OrderProductReductionCatalog | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\OrderProductRefund; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method OrderProductRefund|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method OrderProductRefund|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method OrderProductRefund[] findAll() | |||||
* @method OrderProductRefund[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class OrderProductRefundRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, OrderProductRefund::class); | |||||
} | |||||
// /** | |||||
// * @return OrderProductRefund[] Returns an array of OrderProductRefund objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('o.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?OrderProductRefund | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\OrderProduct; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method OrderProduct|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method OrderProduct|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method OrderProduct[] findAll() | |||||
* @method OrderProduct[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class OrderProductRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, OrderProduct::class); | |||||
} | |||||
// /** | |||||
// * @return OrderProduct[] Returns an array of OrderProduct objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('o.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?OrderProduct | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\OrderReductionCart; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method OrderReductionCart|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method OrderReductionCart|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method OrderReductionCart[] findAll() | |||||
* @method OrderReductionCart[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class OrderReductionCartRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, OrderReductionCart::class); | |||||
} | |||||
// /** | |||||
// * @return OrderReductionCart[] Returns an array of OrderReductionCart objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('o.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?OrderReductionCart | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\OrderReductionCredit; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method OrderReductionCredit|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method OrderReductionCredit|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method OrderReductionCredit[] findAll() | |||||
* @method OrderReductionCredit[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class OrderReductionCreditRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, OrderReductionCredit::class); | |||||
} | |||||
// /** | |||||
// * @return OrderReductionCredit[] Returns an array of OrderReductionCredit objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('o.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?OrderReductionCredit | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\OrderRefund; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method OrderRefund|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method OrderRefund|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method OrderRefund[] findAll() | |||||
* @method OrderRefund[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class OrderRefundRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, OrderRefund::class); | |||||
} | |||||
// /** | |||||
// * @return OrderRefund[] Returns an array of OrderRefund objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('o.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?OrderRefund | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\OrderShop; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method OrderShop|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method OrderShop|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method OrderShop[] findAll() | |||||
* @method OrderShop[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class OrderShopRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, OrderShop::class); | |||||
} | |||||
// /** | |||||
// * @return OrderShop[] Returns an array of OrderShop objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('o.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?OrderShop | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\OrderStatusHistory; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method OrderStatusHistory|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method OrderStatusHistory|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method OrderStatusHistory[] findAll() | |||||
* @method OrderStatusHistory[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class OrderStatusHistoryRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, OrderStatusHistory::class); | |||||
} | |||||
// /** | |||||
// * @return OrderStatusHistory[] Returns an array of OrderStatusHistory objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('o.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?OrderStatusHistory | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\OrderStatus; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method OrderStatus|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method OrderStatus|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method OrderStatus[] findAll() | |||||
* @method OrderStatus[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class OrderStatusRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, OrderStatus::class); | |||||
} | |||||
// /** | |||||
// * @return OrderStatus[] Returns an array of OrderStatus objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('o.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?OrderStatus | |||||
{ | |||||
return $this->createQueryBuilder('o') | |||||
->andWhere('o.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\Page; | |||||
use Lc\SovBundle\Repository\AbstractRepository; | |||||
/** | |||||
* @method Page|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method Page|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method Page[] findAll() | |||||
* @method Page[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class PageRepository extends AbstractRepository | |||||
{ | |||||
public function getInterfaceClass() | |||||
{ | |||||
return Page::class; | |||||
} | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\PointSaleDayInfo; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method PointSaleDayInfo|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method PointSaleDayInfo|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method PointSaleDayInfo[] findAll() | |||||
* @method PointSaleDayInfo[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class PointSaleDayInfoRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, PointSaleDayInfo::class); | |||||
} | |||||
// /** | |||||
// * @return PointSaleDayInfo[] Returns an array of PointSaleDayInfo objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('p.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?PointSaleDayInfo | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\PointSale; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method PointSale|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method PointSale|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method PointSale[] findAll() | |||||
* @method PointSale[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class PointSaleRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, PointSale::class); | |||||
} | |||||
// /** | |||||
// * @return PointSale[] Returns an array of PointSale objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('p.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?PointSale | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\ProductCategory; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method ProductCategory|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method ProductCategory|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method ProductCategory[] findAll() | |||||
* @method ProductCategory[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class ProductCategoryRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, ProductCategory::class); | |||||
} | |||||
// /** | |||||
// * @return ProductCategory[] Returns an array of ProductCategory objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('p.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?ProductCategory | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\ProductFamily; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method ProductFamily|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method ProductFamily|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method ProductFamily[] findAll() | |||||
* @method ProductFamily[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class ProductFamilyRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, ProductFamily::class); | |||||
} | |||||
// /** | |||||
// * @return ProductFamily[] Returns an array of ProductFamily objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('p.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?ProductFamily | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\Product; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method Product|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method Product|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method Product[] findAll() | |||||
* @method Product[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class ProductRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, Product::class); | |||||
} | |||||
// /** | |||||
// * @return Product[] Returns an array of Product objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('p.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?Product | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\ReductionCart; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method ReductionCart|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method ReductionCart|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method ReductionCart[] findAll() | |||||
* @method ReductionCart[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class ReductionCartRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, ReductionCart::class); | |||||
} | |||||
// /** | |||||
// * @return ReductionCart[] Returns an array of ReductionCart objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('r.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?ReductionCart | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\ReductionCatalog; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method ReductionCatalog|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method ReductionCatalog|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method ReductionCatalog[] findAll() | |||||
* @method ReductionCatalog[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class ReductionCatalogRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, ReductionCatalog::class); | |||||
} | |||||
// /** | |||||
// * @return ReductionCatalog[] Returns an array of ReductionCatalog objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('r.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?ReductionCatalog | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\ReductionCredit; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method ReductionCredit|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method ReductionCredit|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method ReductionCredit[] findAll() | |||||
* @method ReductionCredit[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class ReductionCreditRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, ReductionCredit::class); | |||||
} | |||||
// /** | |||||
// * @return ReductionCredit[] Returns an array of ReductionCredit objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('r.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?ReductionCredit | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\Reminder; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method Reminder|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method Reminder|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method Reminder[] findAll() | |||||
* @method Reminder[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class ReminderRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, Reminder::class); | |||||
} | |||||
// /** | |||||
// * @return Reminder[] Returns an array of Reminder objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('r.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?Reminder | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\Section; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method Section|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method Section|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method Section[] findAll() | |||||
* @method Section[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class SectionRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, Section::class); | |||||
} | |||||
// /** | |||||
// * @return Section[] Returns an array of Section objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('s') | |||||
->andWhere('s.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('s.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?Section | |||||
{ | |||||
return $this->createQueryBuilder('s') | |||||
->andWhere('s.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\TaxRate; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method TaxRate|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method TaxRate|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method TaxRate[] findAll() | |||||
* @method TaxRate[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class TaxRateRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, TaxRate::class); | |||||
} | |||||
// /** | |||||
// * @return TaxRate[] Returns an array of TaxRate objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('t') | |||||
->andWhere('t.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('t.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?TaxRate | |||||
{ | |||||
return $this->createQueryBuilder('t') | |||||
->andWhere('t.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\TicketMessage; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method TicketMessage|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method TicketMessage|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method TicketMessage[] findAll() | |||||
* @method TicketMessage[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class TicketMessageRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, TicketMessage::class); | |||||
} | |||||
// /** | |||||
// * @return TicketMessage[] Returns an array of TicketMessage objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('t') | |||||
->andWhere('t.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('t.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?TicketMessage | |||||
{ | |||||
return $this->createQueryBuilder('t') | |||||
->andWhere('t.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\Ticket; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method Ticket|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method Ticket|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method Ticket[] findAll() | |||||
* @method Ticket[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class TicketRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, Ticket::class); | |||||
} | |||||
// /** | |||||
// * @return Ticket[] Returns an array of Ticket objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('t') | |||||
->andWhere('t.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('t.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?Ticket | |||||
{ | |||||
return $this->createQueryBuilder('t') | |||||
->andWhere('t.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\Unit; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method Unit|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method Unit|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method Unit[] findAll() | |||||
* @method Unit[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class UnitRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, Unit::class); | |||||
} | |||||
// /** | |||||
// * @return Unit[] Returns an array of Unit objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('u') | |||||
->andWhere('u.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('u.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?Unit | |||||
{ | |||||
return $this->createQueryBuilder('u') | |||||
->andWhere('u.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\UserMerchant; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method UserMerchant|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method UserMerchant|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method UserMerchant[] findAll() | |||||
* @method UserMerchant[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class UserMerchantRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, UserMerchant::class); | |||||
} | |||||
// /** | |||||
// * @return UserMerchant[] Returns an array of UserMerchant objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('u') | |||||
->andWhere('u.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('u.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?UserMerchant | |||||
{ | |||||
return $this->createQueryBuilder('u') | |||||
->andWhere('u.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\UserPointSale; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method UserPointSale|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method UserPointSale|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method UserPointSale[] findAll() | |||||
* @method UserPointSale[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class UserPointSaleRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, UserPointSale::class); | |||||
} | |||||
// /** | |||||
// * @return UserPointSale[] Returns an array of UserPointSale objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('u') | |||||
->andWhere('u.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('u.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?UserPointSale | |||||
{ | |||||
return $this->createQueryBuilder('u') | |||||
->andWhere('u.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\Visitor; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method Visitor|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method Visitor|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method Visitor[] findAll() | |||||
* @method Visitor[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class VisitorRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, Visitor::class); | |||||
} | |||||
// /** | |||||
// * @return Visitor[] Returns an array of Visitor objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('v') | |||||
->andWhere('v.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('v.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?Visitor | |||||
{ | |||||
return $this->createQueryBuilder('v') | |||||
->andWhere('v.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |