@@ -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); |