4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Routing\Tests\Fixtures;
14 use Symfony\Component\Routing\Matcher\UrlMatcher;
15 use Symfony\Component\Routing\Matcher\RedirectableUrlMatcherInterface;
18 * @author Fabien Potencier <fabien@symfony.com>
20 class RedirectableUrlMatcher extends UrlMatcher implements RedirectableUrlMatcherInterface
22 public function redirect($path, $route, $scheme = null)
25 '_controller' => 'Some controller reference...',