commercetools-sdk-php-v2  master
The platform, import-api and ml-api PHP sdks generated from our api reference.
ResourceByProjectKeyApiClientsByID.php
1 <?php
2 
3 declare(strict_types=1);
10 
12 use GuzzleHttp\ClientInterface;
13 use Psr\Http\Message\UploadedFileInterface;
14 
19 {
23  public function __construct(array $args = [], ClientInterface $client = null)
24  {
25  parent::__construct('/{projectKey}/api-clients/{ID}', $args, $client);
26  }
27 
32  public function get($body = null, array $headers = []): ByProjectKeyApiClientsByIDGet
33  {
34  $args = $this->getArgs();
35 
36  return new ByProjectKeyApiClientsByIDGet($args['projectKey'], $args['ID'], $body, $headers, $this->getClient());
37  }
42  public function head($body = null, array $headers = []): ByProjectKeyApiClientsByIDHead
43  {
44  $args = $this->getArgs();
45 
46  return new ByProjectKeyApiClientsByIDHead($args['projectKey'], $args['ID'], $body, $headers, $this->getClient());
47  }
52  public function delete($body = null, array $headers = []): ByProjectKeyApiClientsByIDDelete
53  {
54  $args = $this->getArgs();
55 
56  return new ByProjectKeyApiClientsByIDDelete($args['projectKey'], $args['ID'], $body, $headers, $this->getClient());
57  }
58 }