You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
653B

  1. <?php
  2. namespace Lc\CaracoleBundle\Definition;
  3. use Lc\SovBundle\Definition\AbstractSettingDefinition;
  4. class MerchantSettingDefinition extends AbstractSettingDefinition implements MerchantSettingDefinitionInterface
  5. {
  6. const CATEGORY_GENERAL = 'general';
  7. const SETTING_URL = 'url';
  8. public function __construct()
  9. {
  10. $this
  11. ->addSettingText(
  12. [
  13. 'name' => self::SETTING_URL,
  14. 'category' => self::CATEGORY_GENERAL,
  15. ]
  16. );
  17. }
  18. public function getCategories()
  19. {
  20. return [
  21. self::CATEGORY_GENERAL,
  22. ];
  23. }
  24. }