瀏覽代碼

Merge branch 'develop'

master
Guillaume Bourgeois 1 年之前
父節點
當前提交
31d4856e63
共有 1 個檔案被更改,包括 7 行新增0 行删除
  1. +7
    -0
      Repository/AbstractStore.php

+ 7
- 0
Repository/AbstractStore.php 查看文件

@@ -115,6 +115,13 @@ abstract class AbstractStore implements StoreInterface
return $query->find();
}

public function getOnlineAndOffline($query = null)
{
$query = $this->createDefaultQuery($query);
$query->filterIsOnlineAndOffline();
return $query->find();
}

public function getParent(bool $isOnline = true, $query = null)
{
$query = $this->createDefaultQuery($query);

Loading…
取消
儲存