| 1 | <?php |
||
| 9 | class Key |
||
| 10 | { |
||
| 11 | protected $id; |
||
| 12 | |||
| 13 | protected $value; |
||
| 14 | |||
| 15 | protected $requests; |
||
| 16 | |||
| 17 | protected $enabled = false; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return mixed |
||
| 21 | */ |
||
| 22 | public function getId() |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param mixed $id |
||
| 29 | * @return $this |
||
| 30 | */ |
||
| 31 | public function setId($id) |
||
| 32 | { |
||
| 33 | $this->id = $id; |
||
| 34 | return $this; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return mixed |
||
| 39 | */ |
||
| 40 | public function getValue() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param mixed $value |
||
| 47 | * @return $this |
||
| 48 | */ |
||
| 49 | public function setValue($value) |
||
| 50 | { |
||
| 51 | $this->value = $value; |
||
| 52 | return $this; |
||
| 53 | } |
||
| 54 | |||
| 55 | public function isEnabled() |
||
| 59 | |||
| 60 | public function setEnabled($enabled) |
||
| 61 | { |
||
| 66 | } |
||
| 67 |