/** * @param UriInterface $uri * * @return \Eloquent\Schemer\Loader\Content * @throws Exception\UndefinedLoaderException * @throws Exception\LoadExceptionInterface */ public function load(UriInterface $uri) { $scheme = $uri->getScheme(); if (null === $scheme) { $scheme = $this->defaultScheme(); } return $this->loaderByScheme($scheme)->load($uri); }