| Total Complexity | 3 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 8 | abstract class BaseRequest implements RequestInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | protected $public_key; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param string $key |
||
| 17 | * @return BaseRequest |
||
| 18 | */ |
||
| 19 | public function setPublicKey(string $key): self |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | public function generateUri(): string |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return array |
||
| 43 | */ |
||
| 44 | abstract protected function getAvailableParams(): array; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | abstract protected function getUri(): string; |
||
| 50 | } |
||
| 51 |