Beispiel #1
0
 public function query($name, $params = null, $array = false)
 {
     if (!isset($this->repo)) {
         throw new ShopException(get_called_class() . " doesn't have a repository.");
     }
     return $this->repo->query($name, $params, $array);
 }