예제 #1
0
 public function __construct(WpsClient $client, UriGenerator $uriGenerator, Model $model)
 {
     $this->client = $client;
     $this->model = $model;
     $this->uriGenerator = $uriGenerator;
     $this->baseResource = $model->getBaseResource();
 }
예제 #2
0
 /**
  * Get the base resource
  *
  * @return string
  */
 protected function getRelatedBaseResource()
 {
     return $this->related->getBaseResource();
 }