|
123456789101112131415161718192021222324252627282930 |
- <?php
-
- namespace domain\Setting\SettingDetails\Producer;
-
- use domain\Setting\SettingDefinition;
-
- class ProducerSettingDefinition extends SettingDefinition
- {
- const SECTION_GENERAL = 'general';
- const SUBSECTION_GENERAL = 'general.main';
-
- public function getSettings(): array
- {
- return [
- self::SECTION_GENERAL => [
- self::SUBSECTION_GENERAL => [
- // ...
- ]
- ]
- ];
- }
-
- public function getSectionLabels(): array
- {
- return [
- self::SECTION_GENERAL => 'General',
- self::SUBSECTION_GENERAL => 'General',
- ];
- }
- }
|