AbstractConfiguration   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 5
dl 0
loc 25
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setApiUrl() 0 4 1
A getApiUrl() 0 3 1
1
<?php
2
namespace Paranoia\Configuration;
3
4
class AbstractConfiguration
5
{
6
7
    /**
8
     * @var string
9
     */
10
    private $apiUrl;
11
12
    /**
13
     * @param string $apiUrl
14
     *
15
     * @return $this
16
     */
17
    public function setApiUrl($apiUrl)
18
    {
19
        $this->apiUrl = $apiUrl;
20
        return $this;
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    public function getApiUrl()
27
    {
28
        return $this->apiUrl;
29
    }
30
}
31