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

Provider::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 9.4286
cc 1
eloc 3
nc 1
nop 2
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
}