1 | <?php |
||
3 | class Resolver |
||
4 | { |
||
5 | private $model; |
||
6 | |||
7 | /** |
||
8 | * Initializes the Resolver object |
||
9 | */ |
||
10 | public function __construct($model) |
||
14 | |||
15 | private function startsWith(string $prefix, string $target) : bool { |
||
18 | |||
19 | /** |
||
20 | * Resolve the URI using the most appropriate resolver and return the |
||
21 | * result as an ExternalResource. |
||
22 | * @param string $uri URI to resolve |
||
23 | * @return EasyRdf\Resource |
||
24 | */ |
||
25 | public function resolve(string $uri, int $timeout): ?EasyRdf\Resource { |
||
35 | } |
||
36 |