ConfigInterface.php 690 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Translate\Inline;
  7. /**
  8. * Inline Translation config interface
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface ConfigInterface
  14. {
  15. /**
  16. * Check whether inline translation is enabled
  17. *
  18. * @param null|string|bool|int|\Magento\Store\Model\Store $scope
  19. * @return bool
  20. */
  21. public function isActive($scope = null);
  22. /**
  23. * Check whether allowed client ip for inline translation
  24. *
  25. * @param null|string|bool|int|\Magento\Store\Model\Store $scope
  26. * @return bool
  27. */
  28. public function isDevAllowed($scope = null);
  29. }