@@ -20,6 +20,9 @@ discard block |
||
| 20 | 20 | */ |
| 21 | 21 | private $activeKey; |
| 22 | 22 | |
| 23 | + /** |
|
| 24 | + * @param string $activeKey |
|
| 25 | + */ |
|
| 23 | 26 | public function setActiveKey($activeKey) |
| 24 | 27 | { |
| 25 | 28 | $this->activeKey = $activeKey; |
@@ -46,11 +49,17 @@ discard block |
||
| 46 | 49 | return $this; |
| 47 | 50 | } |
| 48 | 51 | |
| 52 | + /** |
|
| 53 | + * @param string $key |
|
| 54 | + */ |
|
| 49 | 55 | public function get($key) |
| 50 | 56 | { |
| 51 | 57 | return $this->bindings[$key]; |
| 52 | 58 | } |
| 53 | 59 | |
| 60 | + /** |
|
| 61 | + * @param string $key |
|
| 62 | + */ |
|
| 54 | 63 | public function has($key) |
| 55 | 64 | { |
| 56 | 65 | return isset($this->bindings[$key]); |