appdevUrlGenerator.php 8.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <?php
  2. use Symfony\Component\Routing\RequestContext;
  3. use Symfony\Component\Routing\Exception\RouteNotFoundException;
  4. /**
  5. * appdevUrlGenerator
  6. *
  7. * This class has been auto-generated
  8. * by the Symfony Routing Component.
  9. */
  10. class appdevUrlGenerator extends Symfony\Component\Routing\Generator\UrlGenerator
  11. {
  12. static private $declaredRouteNames = array(
  13. '_welcome' => true,
  14. '_demo_login' => true,
  15. '_security_check' => true,
  16. '_demo_logout' => true,
  17. 'acme_demo_secured_hello' => true,
  18. '_demo_secured_hello' => true,
  19. '_demo_secured_hello_admin' => true,
  20. '_demo' => true,
  21. '_demo_hello' => true,
  22. '_demo_contact' => true,
  23. '_wdt' => true,
  24. '_profiler_search' => true,
  25. '_profiler_purge' => true,
  26. '_profiler_import' => true,
  27. '_profiler_export' => true,
  28. '_profiler_search_results' => true,
  29. '_profiler' => true,
  30. '_configurator_home' => true,
  31. '_configurator_step' => true,
  32. '_configurator_final' => true,
  33. );
  34. /**
  35. * Constructor.
  36. */
  37. public function __construct(RequestContext $context)
  38. {
  39. $this->context = $context;
  40. }
  41. public function generate($name, $parameters = array(), $absolute = false)
  42. {
  43. if (!isset(self::$declaredRouteNames[$name])) {
  44. throw new RouteNotFoundException(sprintf('Route "%s" does not exist.', $name));
  45. }
  46. $escapedName = str_replace('.', '__', $name);
  47. list($variables, $defaults, $requirements, $tokens) = $this->{'get'.$escapedName.'RouteInfo'}();
  48. return $this->doGenerate($variables, $defaults, $requirements, $tokens, $parameters, $name, $absolute);
  49. }
  50. private function get_welcomeRouteInfo()
  51. {
  52. return array(array (), array ( '_controller' => 'Acme\\DemoBundle\\Controller\\WelcomeController::indexAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/', ),));
  53. }
  54. private function get_demo_loginRouteInfo()
  55. {
  56. return array(array (), array ( '_controller' => 'Acme\\DemoBundle\\Controller\\SecuredController::loginAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/demo/secured/login', ),));
  57. }
  58. private function get_security_checkRouteInfo()
  59. {
  60. return array(array (), array ( '_controller' => 'Acme\\DemoBundle\\Controller\\SecuredController::securityCheckAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/demo/secured/login_check', ),));
  61. }
  62. private function get_demo_logoutRouteInfo()
  63. {
  64. return array(array (), array ( '_controller' => 'Acme\\DemoBundle\\Controller\\SecuredController::logoutAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/demo/secured/logout', ),));
  65. }
  66. private function getacme_demo_secured_helloRouteInfo()
  67. {
  68. return array(array (), array ( 'name' => 'World', '_controller' => 'Acme\\DemoBundle\\Controller\\SecuredController::helloAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/demo/secured/hello', ),));
  69. }
  70. private function get_demo_secured_helloRouteInfo()
  71. {
  72. return array(array ( 0 => 'name',), array ( '_controller' => 'Acme\\DemoBundle\\Controller\\SecuredController::helloAction',), array (), array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'name', ), 1 => array ( 0 => 'text', 1 => '/demo/secured/hello', ),));
  73. }
  74. private function get_demo_secured_hello_adminRouteInfo()
  75. {
  76. return array(array ( 0 => 'name',), array ( '_controller' => 'Acme\\DemoBundle\\Controller\\SecuredController::helloadminAction',), array (), array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'name', ), 1 => array ( 0 => 'text', 1 => '/demo/secured/hello/admin', ),));
  77. }
  78. private function get_demoRouteInfo()
  79. {
  80. return array(array (), array ( '_controller' => 'Acme\\DemoBundle\\Controller\\DemoController::indexAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/demo/', ),));
  81. }
  82. private function get_demo_helloRouteInfo()
  83. {
  84. return array(array ( 0 => 'name',), array ( '_controller' => 'Acme\\DemoBundle\\Controller\\DemoController::helloAction',), array (), array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'name', ), 1 => array ( 0 => 'text', 1 => '/demo/hello', ),));
  85. }
  86. private function get_demo_contactRouteInfo()
  87. {
  88. return array(array (), array ( '_controller' => 'Acme\\DemoBundle\\Controller\\DemoController::contactAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/demo/contact', ),));
  89. }
  90. private function get_wdtRouteInfo()
  91. {
  92. return array(array ( 0 => 'token',), array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::toolbarAction',), array (), array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'token', ), 1 => array ( 0 => 'text', 1 => '/_wdt', ),));
  93. }
  94. private function get_profiler_searchRouteInfo()
  95. {
  96. return array(array (), array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::searchAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/_profiler/search', ),));
  97. }
  98. private function get_profiler_purgeRouteInfo()
  99. {
  100. return array(array (), array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::purgeAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/_profiler/purge', ),));
  101. }
  102. private function get_profiler_importRouteInfo()
  103. {
  104. return array(array (), array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::importAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/_profiler/import', ),));
  105. }
  106. private function get_profiler_exportRouteInfo()
  107. {
  108. return array(array ( 0 => 'token',), array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::exportAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '.txt', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/\\.]+?', 3 => 'token', ), 2 => array ( 0 => 'text', 1 => '/_profiler/export', ),));
  109. }
  110. private function get_profiler_search_resultsRouteInfo()
  111. {
  112. return array(array ( 0 => 'token',), array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::searchResultsAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/search/results', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'token', ), 2 => array ( 0 => 'text', 1 => '/_profiler', ),));
  113. }
  114. private function get_profilerRouteInfo()
  115. {
  116. return array(array ( 0 => 'token',), array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::panelAction',), array (), array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'token', ), 1 => array ( 0 => 'text', 1 => '/_profiler', ),));
  117. }
  118. private function get_configurator_homeRouteInfo()
  119. {
  120. return array(array (), array ( '_controller' => 'Sensio\\Bundle\\DistributionBundle\\Controller\\ConfiguratorController::checkAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/_configurator/', ),));
  121. }
  122. private function get_configurator_stepRouteInfo()
  123. {
  124. return array(array ( 0 => 'index',), array ( '_controller' => 'Sensio\\Bundle\\DistributionBundle\\Controller\\ConfiguratorController::stepAction',), array (), array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'index', ), 1 => array ( 0 => 'text', 1 => '/_configurator/step', ),));
  125. }
  126. private function get_configurator_finalRouteInfo()
  127. {
  128. return array(array (), array ( '_controller' => 'Sensio\\Bundle\\DistributionBundle\\Controller\\ConfiguratorController::finalAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/_configurator/final', ),));
  129. }
  130. }