LoaderInterface
last analyzed

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 12
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
load() 0 1 ?
1
<?php
2
3
namespace League\JsonReference;
4
5
interface LoaderInterface
6
{
7
    /**
8
     * Load the json schema from the given path.
9
     *
10
     * @param string $path The path to load, without the protocol.
11
     *
12
     * @return object The object resulting from a json_decode of the loaded path.
13
     * @throws \League\JsonReference\SchemaLoadingException
14
     */
15
    public function load($path);
16
}
17