]> git.immae.eu Git - github/wallabag/wallabag.git/blob - inc/Twig/Gettext/Routing/Generator/UrlGenerator.php
9e3431bdf561b54bb082b7d30208d28f7fa783b0
[github/wallabag/wallabag.git] / inc / Twig / Gettext / Routing / Generator / UrlGenerator.php
1 <?php
2
3 /**
4 * This file is part of the Twig Gettext utility.
5 *
6 * (c) Саша Стаменковић <umpirsky@gmail.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace Twig\Gettext\Routing\Generator;
13
14 use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
15 use Symfony\Component\Routing\RequestContext;
16
17 /**
18 * Dummy url generator.
19 *
20 * @author Саша Стаменковић <umpirsky@gmail.com>
21 */
22 class UrlGenerator implements UrlGeneratorInterface
23 {
24 protected $context;
25
26 public function generate($name, $parameters = array(), $absolute = false)
27 {
28 }
29
30 public function getContext()
31 {
32 return $this->context;
33 }
34
35 public function setContext(RequestContext $context)
36 {
37 $this->context = $context;
38 }
39 }