Anons79 Mini Shell

Directory : /proc/self/cwd/vendor/symfony/routing/Tests/Fixtures/
Upload File :
Current File : //proc/self/cwd/vendor/symfony/routing/Tests/Fixtures/RedirectableUrlMatcher.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Routing\Tests\Fixtures;

use Symfony\Component\Routing\Matcher\UrlMatcher;
use Symfony\Component\Routing\Matcher\RedirectableUrlMatcherInterface;

/**
 * @author Fabien Potencier <[email protected]>
 */
class RedirectableUrlMatcher extends UrlMatcher implements RedirectableUrlMatcherInterface
{
    public function redirect($path, $route, $scheme = null)
    {
        return array(
            '_controller' => 'Some controller reference...',
            'path' => $path,
            'scheme' => $scheme,
        );
    }
}

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]