1 | <?php |
||
14 | class ConfigFactory implements ConfigContract, Arrayable, Jsonable, JsonSerializable |
||
|
|||
15 | { |
||
16 | use HasOriginalAndAttributesTrait; |
||
17 | |||
18 | protected $app; |
||
19 | protected $name; |
||
20 | protected $config; |
||
21 | |||
22 | protected $title; |
||
23 | protected $permissions; |
||
24 | protected $columns; |
||
25 | protected $model; |
||
26 | |||
27 | public function __construct(Application $app, $name) |
||
36 | |||
37 | private function getConfigFile() |
||
43 | |||
44 | public function getTitle() |
||
52 | |||
53 | /** |
||
54 | * @return \Sco\Admin\Config\PermissionsConfig |
||
55 | */ |
||
56 | public function getPermissions() |
||
66 | |||
67 | public function getColumns() |
||
77 | |||
78 | protected function getFields() |
||
92 | |||
93 | /** |
||
94 | * @return \Sco\Admin\Config\ModelConfig |
||
95 | */ |
||
96 | public function getModel() |
||
104 | |||
105 | public function getConfigs() |
||
115 | |||
116 | |||
117 | public function __toString() |
||
121 | } |
||
122 |