Completed
Pull Request — master (#19)
by Sergey
03:17
created

Provider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 21
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace seregazhuk\PinterestBot\Api\Providers;
4
5
use seregazhuk\PinterestBot\Interfaces\RequestInterface;
6
use seregazhuk\PinterestBot\Interfaces\ResponseInterface;
7
8
/**
9
 * Class Provider
10
 *
11
 * @package seregazhuk\PinterestBot\Interfaces
12
 */
13
class Provider
14
{
15
    /**
16
     * Instance of the API RequestInterface
17
     *
18
     * @var RequestInterface
19
     */
20
    protected $request;
21
    protected $response;
22
23
    /**
24
     * @param  RequestInterface $request
25
     * @param ResponseInterface $response
26
     */
27
    public function __construct(RequestInterface $request, ResponseInterface $response)
28
    {
29
        $this->request = $request;
30
        $this->response = $response;
31
    }
32
33
}