<?php

use Symfony\Component\Routing\RequestContext;
use Symfony\Component\Routing\Exception\RouteNotFoundException;
use Psr\Log\LoggerInterface;

/**
 * appProdUrlGenerator
 *
 * This class has been auto-generated
 * by the Symfony Routing Component.
 */
class appProdUrlGenerator extends Symfony\Component\Routing\Generator\UrlGenerator
{
    private static $declaredRoutes = array(
        'backend_homepage' => array (  0 =>   array (    0 => '_locale',    1 => 'name',  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\DefaultController::indexAction',  ),  2 =>   array (    '_locale' => 'en|ca',  ),  3 =>   array (    0 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'name',    ),    1 =>     array (      0 => 'text',      1 => '/hello',    ),    2 =>     array (      0 => 'variable',      1 => '/',      2 => 'en|ca',      3 => '_locale',    ),  ),  4 =>   array (  ),),
        'frontend_homepage' => array (  0 =>   array (    0 => '_locale',    1 => 'name',  ),  1 =>   array (    '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::indexAction',  ),  2 =>   array (    '_locale' => 'en|ca',  ),  3 =>   array (    0 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'name',    ),    1 =>     array (      0 => 'text',      1 => '/hello',    ),    2 =>     array (      0 => 'variable',      1 => '/',      2 => 'en|ca',      3 => '_locale',    ),  ),  4 =>   array (  ),),
        'home' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::homeAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/',    ),  ),  4 =>   array (  ),),
        '_home' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::homeAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/',    ),  ),  4 =>   array (  ),),
        'static_page' => array (  0 =>   array (    0 => 'page',  ),  1 =>   array (    '_controller' => 'Site\\FrontendBundle\\Controller\\StaticController::static_pageAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'page',    ),    2 =>     array (      0 => 'text',      1 => '/static',    ),  ),  4 =>   array (  ),),
        'login' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::loginAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/user/login',    ),  ),  4 =>   array (  ),),
        'login_check' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::login_checkAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/user/login_check',    ),  ),  4 =>   array (  ),),
        'logout' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::logoutAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/user/logout',    ),  ),  4 =>   array (  ),),
        'register' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::registerAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/user/register',    ),  ),  4 =>   array (  ),),
        'profile' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::profileAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/user/profile',    ),  ),  4 =>   array (  ),),
        'contact' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::contactAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/contact',    ),  ),  4 =>   array (  ),),
        'upload' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::uploadAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/upload',    ),  ),  4 =>   array (  ),),
        'add_event' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::add_eventAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/add_event',    ),  ),  4 =>   array (  ),),
        'file' => array (  0 =>   array (    0 => 'id_file',  ),  1 =>   array (    '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::fileAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id_file',    ),    1 =>     array (      0 => 'text',      1 => '/file',    ),  ),  4 =>   array (  ),),
        'event' => array (  0 =>   array (    0 => 'id_event',  ),  1 =>   array (    '_controller' => 'Site\\FrontendBundle\\Controller\\DefaultController::eventAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id_event',    ),    1 =>     array (      0 => 'text',      1 => '/event',    ),  ),  4 =>   array (  ),),
        'sonata_admin_redirect' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController::redirectAction',    'route' => 'sonata_admin_dashboard',    'permanent' => 'true',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/',    ),  ),  4 =>   array (  ),),
        'sonata_admin_dashboard' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Sonata\\AdminBundle\\Controller\\CoreController::dashboardAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/dashboard',    ),  ),  4 =>   array (  ),),
        'sonata_admin_retrieve_form_element' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'sonata.admin.controller.admin:retrieveFormFieldElementAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/core/get-form-field-element',    ),  ),  4 =>   array (  ),),
        'sonata_admin_append_form_element' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'sonata.admin.controller.admin:appendFormFieldElementAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/core/append-form-field-element',    ),  ),  4 =>   array (  ),),
        'sonata_admin_short_object_information' => array (  0 =>   array (    0 => '_format',  ),  1 =>   array (    '_controller' => 'sonata.admin.controller.admin:getShortObjectDescriptionAction',    '_format' => 'html',  ),  2 =>   array (    '_format' => 'html|json',  ),  3 =>   array (    0 =>     array (      0 => 'variable',      1 => '.',      2 => 'html|json',      3 => '_format',    ),    1 =>     array (      0 => 'text',      1 => '/admin/core/get-short-object-description',    ),  ),  4 =>   array (  ),),
        'sonata_admin_set_object_field_value' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'sonata.admin.controller.admin:setObjectFieldValueAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/core/set-object-field-value',    ),  ),  4 =>   array (  ),),
        'sonata_admin_search' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Sonata\\AdminBundle\\Controller\\CoreController::searchAction',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/search',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_users_list' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::listAction',    '_sonata_admin' => 'sonata.site.admin.users',    '_sonata_name' => 'admin_site_frontend_users_list',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/users/list',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_users_create' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::createAction',    '_sonata_admin' => 'sonata.site.admin.users',    '_sonata_name' => 'admin_site_frontend_users_create',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/users/create',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_users_batch' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::batchAction',    '_sonata_admin' => 'sonata.site.admin.users',    '_sonata_name' => 'admin_site_frontend_users_batch',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/users/batch',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_users_edit' => array (  0 =>   array (    0 => 'id',  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::editAction',    '_sonata_admin' => 'sonata.site.admin.users',    '_sonata_name' => 'admin_site_frontend_users_edit',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/edit',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id',    ),    2 =>     array (      0 => 'text',      1 => '/admin/site/frontend/users',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_users_delete' => array (  0 =>   array (    0 => 'id',  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::deleteAction',    '_sonata_admin' => 'sonata.site.admin.users',    '_sonata_name' => 'admin_site_frontend_users_delete',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/delete',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id',    ),    2 =>     array (      0 => 'text',      1 => '/admin/site/frontend/users',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_users_show' => array (  0 =>   array (    0 => 'id',  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::showAction',    '_sonata_admin' => 'sonata.site.admin.users',    '_sonata_name' => 'admin_site_frontend_users_show',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/show',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id',    ),    2 =>     array (      0 => 'text',      1 => '/admin/site/frontend/users',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_users_export' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::exportAction',    '_sonata_admin' => 'sonata.site.admin.users',    '_sonata_name' => 'admin_site_frontend_users_export',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/users/export',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_categories_list' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::listAction',    '_sonata_admin' => 'sonata.site.admin.categories',    '_sonata_name' => 'admin_site_frontend_categories_list',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/categories/list',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_categories_create' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::createAction',    '_sonata_admin' => 'sonata.site.admin.categories',    '_sonata_name' => 'admin_site_frontend_categories_create',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/categories/create',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_categories_batch' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::batchAction',    '_sonata_admin' => 'sonata.site.admin.categories',    '_sonata_name' => 'admin_site_frontend_categories_batch',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/categories/batch',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_categories_edit' => array (  0 =>   array (    0 => 'id',  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::editAction',    '_sonata_admin' => 'sonata.site.admin.categories',    '_sonata_name' => 'admin_site_frontend_categories_edit',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/edit',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id',    ),    2 =>     array (      0 => 'text',      1 => '/admin/site/frontend/categories',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_categories_delete' => array (  0 =>   array (    0 => 'id',  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::deleteAction',    '_sonata_admin' => 'sonata.site.admin.categories',    '_sonata_name' => 'admin_site_frontend_categories_delete',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/delete',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id',    ),    2 =>     array (      0 => 'text',      1 => '/admin/site/frontend/categories',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_categories_show' => array (  0 =>   array (    0 => 'id',  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::showAction',    '_sonata_admin' => 'sonata.site.admin.categories',    '_sonata_name' => 'admin_site_frontend_categories_show',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/show',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id',    ),    2 =>     array (      0 => 'text',      1 => '/admin/site/frontend/categories',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_categories_export' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::exportAction',    '_sonata_admin' => 'sonata.site.admin.categories',    '_sonata_name' => 'admin_site_frontend_categories_export',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/categories/export',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_data_list' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::listAction',    '_sonata_admin' => 'sonata.site.admin.data',    '_sonata_name' => 'admin_site_frontend_data_list',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/data/list',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_data_create' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::createAction',    '_sonata_admin' => 'sonata.site.admin.data',    '_sonata_name' => 'admin_site_frontend_data_create',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/data/create',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_data_batch' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::batchAction',    '_sonata_admin' => 'sonata.site.admin.data',    '_sonata_name' => 'admin_site_frontend_data_batch',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/data/batch',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_data_edit' => array (  0 =>   array (    0 => 'id',  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::editAction',    '_sonata_admin' => 'sonata.site.admin.data',    '_sonata_name' => 'admin_site_frontend_data_edit',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/edit',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id',    ),    2 =>     array (      0 => 'text',      1 => '/admin/site/frontend/data',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_data_delete' => array (  0 =>   array (    0 => 'id',  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::deleteAction',    '_sonata_admin' => 'sonata.site.admin.data',    '_sonata_name' => 'admin_site_frontend_data_delete',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/delete',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id',    ),    2 =>     array (      0 => 'text',      1 => '/admin/site/frontend/data',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_data_show' => array (  0 =>   array (    0 => 'id',  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::showAction',    '_sonata_admin' => 'sonata.site.admin.data',    '_sonata_name' => 'admin_site_frontend_data_show',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/show',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id',    ),    2 =>     array (      0 => 'text',      1 => '/admin/site/frontend/data',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_data_export' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::exportAction',    '_sonata_admin' => 'sonata.site.admin.data',    '_sonata_name' => 'admin_site_frontend_data_export',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/data/export',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_events_list' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::listAction',    '_sonata_admin' => 'sonata.site.admin.events',    '_sonata_name' => 'admin_site_frontend_events_list',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/events/list',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_events_create' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::createAction',    '_sonata_admin' => 'sonata.site.admin.events',    '_sonata_name' => 'admin_site_frontend_events_create',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/events/create',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_events_batch' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::batchAction',    '_sonata_admin' => 'sonata.site.admin.events',    '_sonata_name' => 'admin_site_frontend_events_batch',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/events/batch',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_events_edit' => array (  0 =>   array (    0 => 'id',  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::editAction',    '_sonata_admin' => 'sonata.site.admin.events',    '_sonata_name' => 'admin_site_frontend_events_edit',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/edit',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id',    ),    2 =>     array (      0 => 'text',      1 => '/admin/site/frontend/events',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_events_delete' => array (  0 =>   array (    0 => 'id',  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::deleteAction',    '_sonata_admin' => 'sonata.site.admin.events',    '_sonata_name' => 'admin_site_frontend_events_delete',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/delete',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id',    ),    2 =>     array (      0 => 'text',      1 => '/admin/site/frontend/events',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_events_show' => array (  0 =>   array (    0 => 'id',  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::showAction',    '_sonata_admin' => 'sonata.site.admin.events',    '_sonata_name' => 'admin_site_frontend_events_show',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/show',    ),    1 =>     array (      0 => 'variable',      1 => '/',      2 => '[^/]++',      3 => 'id',    ),    2 =>     array (      0 => 'text',      1 => '/admin/site/frontend/events',    ),  ),  4 =>   array (  ),),
        'admin_site_frontend_events_export' => array (  0 =>   array (  ),  1 =>   array (    '_controller' => 'Site\\BackendBundle\\Controller\\AdminController::exportAction',    '_sonata_admin' => 'sonata.site.admin.events',    '_sonata_name' => 'admin_site_frontend_events_export',  ),  2 =>   array (  ),  3 =>   array (    0 =>     array (      0 => 'text',      1 => '/admin/site/frontend/events/export',    ),  ),  4 =>   array (  ),),
    );

    /**
     * Constructor.
     */
    public function __construct(RequestContext $context, LoggerInterface $logger = null)
    {
        $this->context = $context;
        $this->logger = $logger;
    }

    public function generate($name, $parameters = array(), $referenceType = self::ABSOLUTE_PATH)
    {
        if (!isset(self::$declaredRoutes[$name])) {
            throw new RouteNotFoundException(sprintf('Unable to generate a URL for the named route "%s" as such route does not exist.', $name));
        }

        list($variables, $defaults, $requirements, $tokens, $hostTokens) = self::$declaredRoutes[$name];

        return $this->doGenerate($variables, $defaults, $requirements, $tokens, $parameters, $name, $referenceType, $hostTokens);
    }
}
