Completed
Branch develop (8166a6)
by Romain
01:52
created

AbstractApi   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 25
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
namespace Kerox\Messenger\Api;
3
4
use GuzzleHttp\Client;
5
6
abstract class AbstractApi
7
{
8
9
    /**
10
     * @var string
11
     */
12
    protected $pageToken;
13
14
    /**
15
     * @var Client
16
     */
17
    protected $client;
18
19
    /**
20
     * AbstractApi constructor.
21
     *
22
     * @param string $pageToken
23
     * @param \GuzzleHttp\Client $client
24
     */
25
    public function __construct(string $pageToken, Client $client)
26
    {
27
        $this->pageToken = $pageToken;
28
        $this->client = $client;
29
    }
30
}
31