secure-custom-fields
/
vendor
/
justinrainbow
/
json-schema
/
src
/
JsonSchema
/
UriResolverInterface.php
Constraints
7 months ago
Entity
7 months ago
Exception
7 months ago
Iterator
7 months ago
Uri
7 months ago
Rfc3339.php
7 months ago
SchemaStorage.php
7 months ago
SchemaStorageInterface.php
7 months ago
UriResolverInterface.php
7 months ago
UriRetrieverInterface.php
7 months ago
Validator.php
7 months ago
UriResolverInterface.php
27 lines
| 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 | } |
| 27 |