Symfony\Bundle\FrameworkBundle\Templating\Helper\RouterHelper::__construct PHP Méthode

__construct() public méthode

Constructor.
public __construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $router )
$router Symfony\Component\Routing\Generator\UrlGeneratorInterface A Router instance
    public function __construct(UrlGeneratorInterface $router)
    {
        $this->generator = $router;
    }