<?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.
*/namespaceSymfony\Component\Routing\Tests\Fixtures;
useSymfony\Component\Routing\Loader\XmlFileLoader;
useSymfony\Component\Config\Util\XmlUtils;
/**
* XmlFileLoader with schema validation turned off
*/class CustomXmlFileLoaderextends XmlFileLoader {
protected functionloadFile($file) {
returnXmlUtils::loadFile($file, function () {
returntrue;
});
}
}