original_string: public function load($resource, $type = null)
      {
          $repository = $this->delegatingLoader->load($resource, $type);
          
          if(!$repository instanceof ConfigRepositoryInterface)
          {
              throw new \UnexpectedValueException('The loader must return a repository instance');
          }
          
          return $repository;
      }
code: public function load($resource, $type = null)
      {
          $repository = $this->delegatingLoader->load($resource, $type);
          
          if(!$repository instanceof ConfigRepositoryInterface)
          {
              throw new \UnexpectedValueException('The loader must return a repository instance');
          }
          
          return $repository;
      }
code_tokens: public function load ( $ resource , $ type = null ) { $ repository = $ this -> delegatingLoader -> load ( $ resource , $ type ) ; if ( ! $ repository instanceof ConfigRepositoryInterface ) { throw new \ UnexpectedValueException ( 'The loader must return a repository instance' ) ; } return $ repository ; }
docstring: Loads a resource like file or inline configuration
  
  @param string $resource A resource
  @param string $type     The resource type. Don't set this argument in files case.
  
  @return ConfigRepositoryInterface
  
  @throws Symfony\Component\Config\Exception\FileLoaderLoadException If the loader not found.
  @throws \UnexpectedValueException If the loader not return a repository instance
docstring_tokens: Loads a resource like file or inline configuration