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