Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

MerchantSettingDefinition.php 653B

pirms 3 gadiem
pirms 3 gadiem
123456789101112131415161718192021222324252627282930
  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. }