| Total Complexity | 3 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class Context |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var Bag |
||
| 12 | */ |
||
| 13 | protected $xBag = ''; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $sBagName; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * The constructor |
||
| 22 | * |
||
| 23 | * @param Bag $xBag |
||
| 24 | * @param string $sBagName |
||
| 25 | */ |
||
| 26 | public function __construct(Bag $xBag, $sBagName) |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $sKey |
||
| 34 | * @param mixed $xValue |
||
| 35 | * |
||
| 36 | * @return void |
||
| 37 | */ |
||
| 38 | public function set($sKey, $xValue) |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param string $sKey |
||
| 45 | * @param mixed $xValue |
||
| 46 | * |
||
| 47 | * @return mixed |
||
| 48 | */ |
||
| 49 | public function get($sKey, $xValue = null) |
||
| 54 |