Completed
Pull Request — master (#9)
by Laurens
01:51
created

ImageClient::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 5
c 0
b 0
f 0
ccs 0
cts 3
cp 0
rs 9.4285
cc 1
eloc 2
nc 1
nop 1
crap 2
1
<?php
2
3
declare(strict_types=1);
4
5
namespace LauLamanApps\IzettleApi\Client;
6
7
use LauLamanApps\IzettleApi\IzettleClientInterface;
8
9
final class ImageClient
10
{
11
    const BASE_URL = 'https://image.izettle.com/organizations/%s';
12
    const POST_IMAGE = self::BASE_URL . '/products';
13
14
    private $client;
15
16
    public function __construct(IzettleClientInterface $client)
17
    {
18
19
        $this->client = $client;
20
    }
21
}
22