* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Routing\Tests\Matcher; use Symfony\Component\Routing\Matcher\Dumper\PhpMatcherDumper; use Symfony\Component\Routing\RouteCollection; use Symfony\Component\Routing\RequestContext; class DumpedUrlMatcherTest extends UrlMatcherTest { /** * @expectedException \LogicException * @expectedExceptionMessage The "schemes" requirement is only supported for URL matchers that implement RedirectableUrlMatcherInterface. */ public function testSchemeRequirement() { parent::testSchemeRequirement(); } /** * @expectedException \LogicException * @expectedExceptionMessage The "schemes" requirement is only supported for URL matchers that implement RedirectableUrlMatcherInterface. */ public function testSchemeAndMethodMismatch() { parent::testSchemeRequirement(); } protected function getUrlMatcher(RouteCollection $routes, RequestContext $context = null) { static $i = 0; $class = 'DumpedUrlMatcher'.++$i; $dumper = new PhpMatcherDumper($routes); eval('?>'.$dumper->dump(array('class' => $class))); return new $class($context ?: new RequestContext()); } } __halt_compiler();----SIGNATURE:----PoQ/kOjTXhFKWxpMkV8V38W0hrAsmZE/ZPA7Ca+3tK46j5k1DH4MDrJEyNDZ7XGdJfXPt7yU7LAJNhQH6RRl5whxOVUbQOhOkhr8sLilnqDThSwAtA6zYU5uzE1nJwf7IixZB2hGL0rDNZ2uKW7rEpJnu/banJpKgzQtUTdTn7aWWeJMxcSLDoKiRvAhLb4Rj6Tk4jMaA2wQr2aKtV0+fcnd/5cXREqQnGAS6BHF0E/VB/VcMiEVGPIJHHWgW7BXW0m/hpUOMJeUEpeTHsvtat0noefpVKxVlW3p2r5NJ48QzQ6o5YBb9NaCs1itqQDmVtTak1iRmkl/4prMSkiI6OcQ7KanRwQf8O4Pf/ahyQrdcgEkXBdYzdtPut6t6o3/++S4Q/OEP1n6QZxDLI36oItIrToGvXL5kp0jymHhh7tDZlEIKhPz1C14PkNuobvSVQrqjDlmun4h9wH9iEci9+Ppz44ubheiXNBvN5hzhArDU78dvqw33ZcgQM5bDq7wwFsrMwLrYHHG8b9VeHgckPNBtDNF9VV0FpKcDg+QBkzXeK1bjiP5EePOO/WMtiLzFboPGkubCLeyZTrNVwSYhGuGE6qVuMDQct0MP2bgtz/mSbSRNIbWP4KDbo94cGtQIvBrqXiDiksSYluwOOJBxmb+zg20IJO+87yo+0zb+e8=----ATTACHMENT:----OTYwMTcyMDYzODk0ODAyMyA5NTc4NzUwNjk5MDM4MTg0IDg0MjU0NDQwMDc5OTQ2MzA=