* * 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:----mjW+LDv4lDvc3QOyB9lQl5mQB5+pH6pYby6nMF2ty3JvVhJsS4V8vdkwxnOWo3McJ51gzs5MGd+RQjakh9j2fJ3dyeLg0PXPmHSVtkbrUsvlmqxKE4rOQw/UqYaA7lmCyOARbNjA8s7vHZiyi7dwPbhDPw/xAPS8UUIopk9otDLcVKn+IT+gjxNiV8ukul0ExeJ+lJnTSm5pLN/SYXym2NCHYdt+4ai1t0Vd/Q3H3+xQh/syIaNdP8pMam1gSNjRWbv+plN1W1kvCPEY6sO8fSxohHJKK6qmsIq59Dko9Wjj+V9r8d7sxcrDeuO/kmHNiR6AFg8l2RcGENPnF+uXqtj1bmEGd3SeXF7IlUJFrDAhHV0MdWUTEeNkFrQyDVnHMVuz5HG7tOS8pQLakOewVKhGMUr7eYNV15hvsylUGcK5tI6A475JVZ9oV/1qZgc5w0hgqPFIXWHsssAZjYaGZQaMbEpoYrFQfIpFMJX363KbXr9ZBB7mqNXk4IXmG7NaWAhwvcpNuKUDd/Y5WJiC0AZYaXu2gE32Zva2cLlyn/Du1SC7qIRpX8gYEK639d4/77C0e0zKd0lzaen00r4M9larT1JnxYIl+jTA5beqQvKNzifLIjFr/Zoin4qSHQ2cA2NYGZ6CM+3NKz8eyhiwkuYa20AeeMf1gHiHvwpk8rI=----ATTACHMENT:----Njc0MDI5NjYzNDMwMTQwMiAxNjM3NDA3NjA0MzUxODE3IDQ3NTU3MjA3MTYwMjc2ODM=