MutableScopeConfigInterface.php 723 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Configuration interface
  4. *
  5. * Copyright © Magento, Inc. All rights reserved.
  6. * See COPYING.txt for license details.
  7. */
  8. namespace Magento\Framework\App\Config;
  9. /**
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface MutableScopeConfigInterface extends \Magento\Framework\App\Config\ScopeConfigInterface
  14. {
  15. /**
  16. * Set config value in the corresponding config scope
  17. *
  18. * @param string $path
  19. * @param mixed $value
  20. * @param string $scopeType
  21. * @param null|string $scopeCode
  22. * @return void
  23. */
  24. public function setValue(
  25. $path,
  26. $value,
  27. $scopeType = \Magento\Framework\App\Config\ScopeConfigInterface::SCOPE_TYPE_DEFAULT,
  28. $scopeCode = null
  29. );
  30. }