Web Interfaces of PROSUME

UriResolverInterface.php 530B

1234567891011121314151617181920212223242526
  1. <?php
  2. /*
  3. * This file is part of the JsonSchema package.
  4. *
  5. * For the full copyright and license information, please view the LICENSE
  6. * file that was distributed with this source code.
  7. */
  8. namespace JsonSchema;
  9. /**
  10. * @package JsonSchema
  11. */
  12. interface UriResolverInterface
  13. {
  14. /**
  15. * Resolves a URI
  16. *
  17. * @param string $uri Absolute or relative
  18. * @param null|string $baseUri Optional base URI
  19. *
  20. * @return string Absolute URI
  21. */
  22. public function resolve($uri, $baseUri = null);
  23. }