Debian Codegraph @

vendor/justinrainbow/json-schema/src/JsonSchema/UriResolverInterface.php

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