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

ImageClient   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 13
c 0
b 0
f 0
ccs 0
cts 3
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
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