PluginProbe ʕ •ᴥ•ʔ
Secure Custom Fields / 6.8.6
Secure Custom Fields v6.8.6
6.9.5 6.9.4 6.9.3 6.9.2 6.9.1 6.9.0 6.8.9 6.8.7 6.8.8 6.8.6 6.8.4 6.8.5 trunk 6.4.0-beta1 6.4.0-beta2 6.4.1 6.4.1-beta3 6.4.1-beta4 6.4.1-beta5 6.4.1-beta6 6.4.1-beta7 6.4.2 6.5.0 6.5.1 6.5.2 6.5.3 6.5.4 6.5.5 6.5.6 6.5.7 6.6.0 6.7.0 6.7.1 6.8.0 6.8.1 6.8.2 6.8.3
secure-custom-fields / vendor / justinrainbow / json-schema / src / JsonSchema / Uri / Retrievers / UriRetrieverInterface.php
secure-custom-fields / vendor / justinrainbow / json-schema / src / JsonSchema / Uri / Retrievers Last commit date
AbstractRetriever.php 9 months ago Curl.php 9 months ago FileGetContents.php 9 months ago PredefinedArray.php 9 months ago UriRetrieverInterface.php 9 months ago
UriRetrieverInterface.php
37 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\Uri\Retrievers;
11
12 /**
13 * Interface for URI retrievers
14 *
15 * @author Sander Coolen <sander@jibber.nl>
16 */
17 interface UriRetrieverInterface
18 {
19 /**
20 * Retrieve a schema from the specified URI
21 *
22 * @param string $uri URI that resolves to a JSON schema
23 *
24 * @throws \JsonSchema\Exception\ResourceNotFoundException
25 *
26 * @return mixed string|null
27 */
28 public function retrieve($uri);
29
30 /**
31 * Get media content type
32 *
33 * @return string
34 */
35 public function getContentType();
36 }
37