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