Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function getApi($resource)
 {
     return new GenericApi($this->client, $this->uriMap->getUri($resource));
 }
Пример #2
0
 function let(ClientInterface $client, UriMapInterface $uriMap)
 {
     $uriMap->getUri('products')->willReturn('products');
     $this->beConstructedWith($client, $uriMap);
 }