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.

25 lines
621B

  1. <?php
  2. namespace domain\Distribution\DistributionRotating;
  3. use domain\_\AbstractRepository;
  4. class DistributionRotatingRepository extends AbstractRepository
  5. {
  6. protected DistributionRotatingRepositoryQuery $query;
  7. public function loadDependencies(): void
  8. {
  9. $this->loadQuery(DistributionRotatingRepositoryQuery::class);
  10. }
  11. public function getDefaultOptionsSearch(): array
  12. {
  13. return [
  14. self::WITH => [],
  15. self::JOIN_WITH => ['rotatingRelation'],
  16. self::ORDER_BY => 'rotating.name ASC',
  17. self::ATTRIBUTE_ID_PRODUCER => ''
  18. ];
  19. }
  20. }