rector/vendor/symfony/config/Loader/GlobFileLoader.php
Tomas Votruba 47087101c1 Updated Rector to commit 80e6c3b95930026968fe9cf2cf4b471a08d76ec4
80e6c3b959 FileRelocationResolverTest: fix RegexpException on windows (#116)
2021-05-27 20:54:56 +00:00

36 lines
826 B
PHP

<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace RectorPrefix20210527\Symfony\Component\Config\Loader;
/**
* GlobFileLoader loads files from a glob pattern.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
class GlobFileLoader extends \RectorPrefix20210527\Symfony\Component\Config\Loader\FileLoader
{
/**
* {@inheritdoc}
* @param string|null $type
*/
public function load($resource, $type = null)
{
return $this->import($resource);
}
/**
* {@inheritdoc}
*/
public function supports($resource, string $type = null)
{
return 'glob' === $type;
}
}