SecurityInfoInterface.php 413 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Url;
  7. /**
  8. * URL security information. Answers whether URL is secured.
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface SecurityInfoInterface
  14. {
  15. /**
  16. * Check whether url is secure
  17. *
  18. * @param string $url
  19. * @return bool
  20. */
  21. public function isSecure($url);
  22. }