LoaderInterface::load()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
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