commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
ImportRequestBuilder.php
1<?php
2
3declare(strict_types=1);
11
14use GuzzleHttp\ClientInterface;
15
20{
24 public function __construct(?ClientInterface $client = null, array $args = [])
25 {
26 parent::__construct('', $args, $client);
27 }
28
31 public function withProjectKeyValue(?string $projectKey = null): ResourceByProjectKey
32 {
33 $args = $this->getArgs();
34 if (!is_null($projectKey)) {
35 $args['projectKey'] = $projectKey;
36 }
37
38 return new ResourceByProjectKey($args, $this->getClient());
39 }
40}
__construct(?ClientInterface $client=null, array $args=[])