Elgg  Version master
UrlGenerator.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Router;
4 
5 use Psr\Log\LoggerInterface;
6 
10 class UrlGenerator extends \Symfony\Component\Routing\Generator\UrlGenerator {
11 
20  public function __construct(RouteCollection $routes, RequestContext $context, ?LoggerInterface $logger = null, ?string $defaultLocale = null) {
21  parent::__construct($routes, $context, $logger, $defaultLocale);
22  }
23 }
$context
Definition: add.php:8
RequestContext Wrapper.
RouteCollection Wrapper.
UrlGenerator Wrapper.
__construct(RouteCollection $routes, RequestContext $context, ?LoggerInterface $logger=null, ?string $defaultLocale=null)
Create a new UrlGenerator.
Delegates requests to controllers based on the registered configuration.
Definition: Router.php:26