You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MerchantStore.php 568B

3 vuotta sitten
3 vuotta sitten
3 vuotta sitten
3 vuotta sitten
3 vuotta sitten
3 vuotta sitten
3 vuotta sitten
3 vuotta sitten
1234567891011121314151617181920212223242526
  1. <?php
  2. namespace Lc\CaracoleBundle\Repository\Merchant;
  3. use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
  4. use Lc\SovBundle\Repository\AbstractStore;
  5. class MerchantStore extends AbstractStore
  6. {
  7. protected MerchantRepositoryQuery $query;
  8. public function __construct(MerchantRepositoryQuery $query)
  9. {
  10. $this->query = $query;
  11. }
  12. public function getOneByDevAlias(string $devAlias): ?MerchantInterface
  13. {
  14. $query = $this->query->create();
  15. $query->filterByDevAlias($devAlias);
  16. return $query->findOne();
  17. }
  18. }