| 1 | <?php |
||
| 16 | abstract class RequestParameter |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $key; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var array |
||
| 25 | */ |
||
| 26 | protected $value; |
||
| 27 | |||
| 28 | |||
| 29 | /** |
||
| 30 | * BaseFilter constructor. |
||
| 31 | * @param array $value |
||
| 32 | */ |
||
| 33 | 1 | public function __construct($value) |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | public function getKey() : string |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public function getValue() : string |
||
| 57 | } |