diff options
Diffstat (limited to 'vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/CustomXmlFileLoader.php')
-rw-r--r-- | vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/CustomXmlFileLoader.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/CustomXmlFileLoader.php b/vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/CustomXmlFileLoader.php deleted file mode 100644 index 12a5bedb..00000000 --- a/vendor/symfony/routing/Symfony/Component/Routing/Tests/Fixtures/CustomXmlFileLoader.php +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | <?php | ||
2 | |||
3 | /* | ||
4 | * This file is part of the Symfony package. | ||
5 | * | ||
6 | * (c) Fabien Potencier <fabien@symfony.com> | ||
7 | * | ||
8 | * For the full copyright and license information, please view the LICENSE | ||
9 | * file that was distributed with this source code. | ||
10 | */ | ||
11 | |||
12 | namespace Symfony\Component\Routing\Tests\Fixtures; | ||
13 | |||
14 | use Symfony\Component\Routing\Loader\XmlFileLoader; | ||
15 | use Symfony\Component\Config\Util\XmlUtils; | ||
16 | |||
17 | /** | ||
18 | * XmlFileLoader with schema validation turned off | ||
19 | */ | ||
20 | class CustomXmlFileLoader extends XmlFileLoader | ||
21 | { | ||
22 | protected function loadFile($file) | ||
23 | { | ||
24 | return XmlUtils::loadFile($file, function() { return true; }); | ||
25 | } | ||
26 | } | ||