AbstractRequestBuilder::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
namespace Paranoia\Builder;
3
4
use Paranoia\Configuration\AbstractConfiguration;
5
use Paranoia\Request\Request;
6
7
abstract class AbstractRequestBuilder
8
{
9
    /** @var AbstractConfiguration */
10
    protected $configuration;
11
12
    /**
13
     * AbstractRequestBuilder constructor.
14
     * @param AbstractConfiguration $configuration
15
     */
16
    public function __construct(AbstractConfiguration $configuration)
17
    {
18
        $this->configuration = $configuration;
19
    }
20
21
    abstract public function build(Request $request);
22
}
23