/** * Return the query * * @return \Wps\RequestBuilder */ protected function getQuery() { return WpsContainer::make('RequestBuilder', [$this->related])->setBaseResourceKey($this->key); }
/** * Create a new instance of the RequestBuilder. * * @return \Wps\RequestBuilder */ protected function newQuery() { return WpsContainer::make('RequestBuilder', [$this]); }