| 1 | <?php |
||
| 19 | class ApiResolver implements ApiResolverInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var UriMapInterface |
||
| 23 | */ |
||
| 24 | private $uriMap; |
||
| 25 | /** |
||
| 26 | * @var ClientInterface |
||
| 27 | */ |
||
| 28 | private $client; |
||
| 29 | |||
| 30 | public function __construct(ClientInterface $client, UriMapInterface $uriMap) |
||
| 31 | { |
||
| 32 | $this->client = $client; |
||
| 33 | $this->uriMap = $uriMap; |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function getApi($resource) |
||
| 43 | } |
||
| 44 |