| 1 | <?php |
||
| 11 | class MockContainer implements ContainerInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var bool |
||
| 15 | */ |
||
| 16 | private $debugValue; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * MockContainer constructor. |
||
| 20 | * @param bool $debugValue |
||
| 21 | */ |
||
| 22 | public function __construct(bool $debugValue) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param string $id |
||
| 29 | * @return array|mixed |
||
| 30 | */ |
||
| 31 | public function get($id) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param string $id |
||
| 38 | * @return bool |
||
| 39 | */ |
||
| 40 | public function has($id) |
||
| 44 | } |