commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-base
src
Client
ApiResource.php
1
<?php
2
3
declare(strict_types=1);
10
namespace
Commercetools\Client
;
11
12
use GuzzleHttp\ClientInterface;
13
14
class
ApiResource
15
{
20
private
$uri;
21
26
private
$args = [];
27
32
private
$client;
33
38
public
function
__construct
(
string
$uri =
''
, array $args = [], ClientInterface $client =
null
)
39
{
40
$this->uri = $uri;
41
$this->args = $args;
42
$this->client = $client;
43
}
44
48
final
public
function
getUri
(): string
49
{
50
return
$this->uri;
51
}
52
56
final
public
function
getArgs
(): array
57
{
58
return
$this->args;
59
}
60
61
final
public
function
getClient
(): ?ClientInterface
62
{
63
return
$this->client;
64
}
65
}
Commercetools\Client\ApiResource
Definition:
ApiResource.php:15
Commercetools\Client\ApiResource\getUri
getUri()
Definition:
ApiResource.php:48
Commercetools\Client\ApiResource\getClient
getClient()
Definition:
ApiResource.php:61
Commercetools\Client\ApiResource\getArgs
getArgs()
Definition:
ApiResource.php:56
Commercetools\Client\ApiResource\__construct
__construct(string $uri='', array $args=[], ClientInterface $client=null)
Definition:
ApiResource.php:38
Commercetools\Client
Definition:
AnonymousFlowTokenProvider.php:5
Generated by
1.9.1