1 | <?php |
||
14 | class ConfigManager implements ConfigManagerInterface, Arrayable, Jsonable, JsonSerializable |
||
15 | { |
||
16 | protected $app; |
||
17 | |||
18 | protected $name; |
||
19 | protected $configRepository; |
||
20 | |||
21 | protected $title; |
||
22 | protected $permissions; |
||
23 | protected $columns; |
||
24 | protected $model; |
||
25 | protected $elements; |
||
26 | |||
27 | public function __construct($name, Application $app, Repository $repository) |
||
33 | |||
34 | public function getConfigRepository() |
||
38 | |||
39 | public function getTitle() |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function getPermissions() |
||
61 | |||
62 | public function getColumns() |
||
75 | |||
76 | protected function getElements() |
||
88 | |||
89 | /** |
||
90 | * {@inheritdoc} |
||
91 | */ |
||
92 | public function getModel() |
||
99 | |||
100 | public function getRules() |
||
104 | |||
105 | /** |
||
106 | * {@inheritdoc} |
||
107 | */ |
||
108 | public function getConfigs() |
||
118 | |||
119 | /** |
||
120 | * Convert the Object instance to an array. |
||
121 | * |
||
122 | * @return array |
||
123 | */ |
||
124 | public function toArray() |
||
128 | |||
129 | /** |
||
130 | * Convert the object into something JSON serializable. |
||
131 | * |
||
132 | * @return array |
||
133 | */ |
||
134 | public function jsonSerialize() |
||
138 | |||
139 | /** |
||
140 | * Convert the Object instance to JSON. |
||
141 | * |
||
142 | * @param int $options |
||
143 | * |
||
144 | * @return string |
||
145 | */ |
||
146 | public function toJson($options = 0) |
||
150 | |||
151 | public function __toString() |
||
155 | } |
||
156 |