Total Complexity | 4 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
4 | trait MagicArrayAccessTrait |
||
5 | { |
||
6 | public function offsetSet($offset, $value) |
||
7 | { |
||
8 | $this->__set($offset, $value); |
||
9 | } |
||
10 | |||
11 | public function offsetExists($offset) |
||
12 | { |
||
13 | return $this->__isset($offset); |
||
14 | } |
||
15 | |||
16 | public function offsetUnset($offset) |
||
17 | { |
||
18 | $this->__unset($offset); |
||
19 | } |
||
20 | |||
21 | public function offsetGet($offset) |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * 设置值 |
||
57 |