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.

OrderStatusRepositoryQuery.php 516B

3 vuotta sitten
3 vuotta sitten
3 vuotta sitten
3 vuotta sitten
12345678910111213141516171819
  1. <?php
  2. namespace Lc\CaracoleBundle\Repository\Order;
  3. use Knp\Component\Pager\PaginatorInterface;
  4. use Lc\SovBundle\Repository\AbstractRepositoryQuery;
  5. class OrderStatusRepositoryQuery extends AbstractRepositoryQuery
  6. {
  7. public function __construct(OrderStatusRepository $repository, PaginatorInterface $paginator)
  8. {
  9. parent::__construct($repository, 'orderStatus', $paginator);
  10. }
  11. public function filterByAlias(string $alias)
  12. {
  13. return $this->andWhereEqual('alias', $alias);
  14. }
  15. }