ContextInterface.php 453 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\View\Asset;
  7. /**
  8. * An abstraction for getting context path of an asset
  9. */
  10. interface ContextInterface
  11. {
  12. /**
  13. * Get context path of an asset
  14. *
  15. * @return string
  16. */
  17. public function getPath();
  18. /**
  19. * Get base URL
  20. *
  21. * @return string
  22. */
  23. public function getBaseUrl();
  24. }