4 * This file is part of the Twig Gettext utility.
6 * (c) Саша Стаменковић <umpirsky@gmail.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Twig\Gettext\Routing\Generator
;
14 use Symfony\Component\Routing\Generator\UrlGeneratorInterface
;
15 use Symfony\Component\Routing\RequestContext
;
18 * Dummy url generator.
20 * @author Саша Стаменковић <umpirsky@gmail.com>
22 class UrlGenerator
implements UrlGeneratorInterface
26 public function generate($name, $parameters = array(), $absolute = false)
30 public function getContext()
32 return $this->context
;
35 public function setContext(RequestContext
$context)
37 $this->context
= $context;