1 | <?php |
||
9 | class RestrictedConfig extends ArrayConfig |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $restriction; |
||
15 | |||
16 | /** |
||
17 | * @param string $restriction |
||
18 | * @param string $separator |
||
19 | * @param array|\ArrayObject $data |
||
20 | */ |
||
21 | 7 | public function __construct($restriction, $separator, $data = array()) |
|
26 | |||
27 | /** |
||
28 | * @param mixed $key |
||
29 | * @return bool |
||
30 | */ |
||
31 | 3 | public function offsetExists($key) |
|
35 | |||
36 | /** |
||
37 | * @param mixed $key |
||
38 | * @return bool |
||
39 | */ |
||
40 | 3 | public function offsetGet($key) |
|
44 | |||
45 | /** |
||
46 | * @param mixed $key |
||
47 | * @param mixed $value |
||
48 | */ |
||
49 | 2 | public function offsetSet($key, $value) |
|
53 | |||
54 | /** |
||
55 | * @param mixed $key |
||
56 | */ |
||
57 | 1 | public function offsetUnset($key) |
|
61 | |||
62 | /** |
||
63 | * @return array |
||
64 | */ |
||
65 | 1 | public function getArrayCopy() |
|
75 | |||
76 | /** |
||
77 | * Getter of $restriction |
||
78 | * |
||
79 | * @return string |
||
80 | */ |
||
81 | 7 | private function getRestriction() |
|
85 | |||
86 | /** |
||
87 | * Setter of $restriction |
||
88 | * |
||
89 | * @param string $restriction |
||
90 | */ |
||
91 | 7 | private function setRestriction($restriction) |
|
95 | } |
||
96 |