AbstractService::getParams()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace ReCaptcha2\Captcha;
3
4
abstract class AbstractService implements ServiceInterface
5
{
6
    /**
7
     * @var string
8
     */
9
    protected $siteKey;
10
11
    /**
12
     * @var string
13
     */
14
    protected $secretKey;
15
16
    /**
17
     * @var array
18
     */
19
    protected $params = [];
20
21
    public function getSiteKey()
22
    {
23
        return $this->siteKey;
24
    }
25
26
    public function setSiteKey($siteKey)
27
    {
28
        $this->siteKey = $siteKey;
29
    }
30
31
    public function getSecretKey()
32
    {
33
        return $this->secretKey;
34
    }
35
36
    public function setSecretKey($secretKey)
37
    {
38
        $this->secretKey = $secretKey;
39
    }
40
41
    public function getParams()
42
    {
43
        return $this->params;
44
    }
45
46
    abstract public function getServiceUri();
47
}
48