Debian Codegraph @

vendor/justinrainbow/json-schema/src/JsonSchema/UriRetrieverInterface.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 UriRetrieverInterface
16 {
17 /**
18 * Retrieve a URI
19 *
20 * @param string $uri JSON Schema URI
21 * @param null|string $baseUri
22 *
23 * @return object JSON Schema contents
24 */
25 public function retrieve($uri, $baseUri = null);
26 }