您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

NewsletterStore.php 804B

3 年前
3 年前
3 年前
12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace Lc\SovBundle\Repository\Newsletter;
  3. use Lc\SovBundle\Repository\AbstractStore;
  4. use Lc\SovBundle\Repository\RepositoryQueryInterface;
  5. class NewsletterStore extends AbstractStore implements NewsletterStoreInterface
  6. {
  7. protected NewsletterRepositoryQueryInterface $query;
  8. public function __construct(NewsletterRepositoryQueryInterface $query)
  9. {
  10. $this->query = $query;
  11. }
  12. public function orderByDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
  13. {
  14. return $query;
  15. }
  16. public function filtersDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
  17. {
  18. return $query;
  19. }
  20. public function relationsDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
  21. {
  22. return $query;
  23. }
  24. }