The resolver allows to get the right loader for the resource you are importing. See https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Config/Loader/FileLoader.php#L64 for the implementation of the import