| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class ReferenceEntityMediaFileApiAdapter implements ReferenceEntityMediaFileApiAdapterInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var \Akeneo\PimEnterprise\ApiClient\AkeneoPimEnterpriseClientInterface |
||
| 18 | */ |
||
| 19 | protected $akeneoPimClient; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var \SprykerEco\Service\AkeneoPim\Dependencies\External\Api\Wrapper\WrapperFactoryInterface |
||
| 23 | */ |
||
| 24 | protected $wrapperFactory; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param \Akeneo\PimEnterprise\ApiClient\AkeneoPimEnterpriseClientInterface $akeneoPimClient |
||
| 28 | * @param \SprykerEco\Service\AkeneoPim\Dependencies\External\Api\Wrapper\WrapperFactoryInterface $wrapperFactory |
||
| 29 | */ |
||
| 30 | public function __construct(AkeneoPimEnterpriseClientInterface $akeneoPimClient, WrapperFactoryInterface $wrapperFactory) |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param string $code |
||
| 38 | * |
||
| 39 | * @return \Psr\Http\Message\ResponseInterface |
||
| 40 | */ |
||
| 41 | public function download(string $code): ResponseInterface |
||
| 48 |