Beispiel #1
0
 public function setModel(Model $model)
 {
     $this->model = $model;
     $this->query->from($model->getPathInfo(), $model->getPathParams());
     return $this;
 }
Beispiel #2
0
 public function service($pathInfo, array $pathParams = [])
 {
     $query = new QueryBuilder($this);
     return $query->from($pathInfo, $pathParams);
 }