Total Complexity | 4 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | trait HasKeysTrait |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * @return mixed |
||
16 | */ |
||
17 | public function getPrivateKey() |
||
18 | { |
||
19 | return $this->getParameter('privateKey'); |
||
|
|||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @param $value |
||
24 | * @return CommonAbstractRequest |
||
25 | */ |
||
26 | public function setPrivateKey($value) |
||
27 | { |
||
28 | return $this->setParameter('privateKey', $value); |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return mixed |
||
33 | */ |
||
34 | public function getPublicKey() |
||
35 | { |
||
36 | return $this->getParameter('publicKey'); |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @param $value |
||
41 | * @return CommonAbstractRequest |
||
42 | */ |
||
43 | public function setPublicKey($value) |
||
46 | } |
||
47 | } |
||
48 |