ScopeValidatorInterface.php 455 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\App;
  7. /**
  8. * Interface \Magento\Framework\App\ScopeValidatorInterface
  9. *
  10. */
  11. interface ScopeValidatorInterface
  12. {
  13. /**
  14. * Check that scope and scope id is exists
  15. *
  16. * @param string $scope
  17. * @param string $scopeId
  18. * @return bool
  19. */
  20. public function isValidScope($scope, $scopeId = null);
  21. }