| 1 | <?php |
||
| 5 | class Connection implements \ArrayAccess |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var array |
||
| 9 | */ |
||
| 10 | protected $options; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param array $options |
||
| 14 | */ |
||
| 15 | 132 | public function __construct(array $options) |
|
| 19 | |||
| 20 | /** |
||
| 21 | * @inheritdoc |
||
| 22 | */ |
||
| 23 | 2 | public function offsetSet($offset, $value) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritdoc |
||
| 34 | */ |
||
| 35 | 90 | public function offsetExists($offset) |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @inheritdoc |
||
| 42 | */ |
||
| 43 | public function offsetUnset($offset) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @inheritdoc |
||
| 50 | */ |
||
| 51 | 86 | public function offsetGet($offset) |
|
| 55 | |||
| 56 | /** |
||
| 57 | * @return array |
||
| 58 | */ |
||
| 59 | public function toArray() |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return string |
||
| 66 | */ |
||
| 67 | 16 | public function getHash() |
|
| 71 | |||
| 72 | /** |
||
| 73 | * @return string |
||
| 74 | */ |
||
| 75 | public function __toString() |
||
| 85 | } |
||
| 86 |