Passed
Pull Request — master (#115)
by
unknown
02:08
created

AbstractConfiguration::setGuzzleConfig()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
namespace Paranoia\Configuration;
3
4
class AbstractConfiguration
5
{
6
7
    /**
8
     * @var string
9
     */
10
    private $apiUrl;
11
12
    /**
13
     * @var array|null
14
     */
15
    private $guzzleConfig;
16
17
    /**
18
     * @param string $apiUrl
19
     *
20
     * @return $this
21
     */
22
    public function setApiUrl($apiUrl)
23
    {
24
        $this->apiUrl = $apiUrl;
25
        return $this;
26
    }
27
28
    /**
29
     * @return string
30
     */
31
    public function getApiUrl()
32
    {
33
        return $this->apiUrl;
34
    }
35
36
    /**
37
     * @return null|array
38
     */
39
    public function getGuzzleConfig()
40
    {
41
        return $this->guzzleConfig;
42
    }
43
44
    /**
45
     * @param null|array $guzzleConfig
46
     */
47
    public function setGuzzleConfig($guzzleConfig)
48
    {
49
        $this->guzzleConfig = $guzzleConfig;
50
    }
51
52
}
53