/Semdrops/SymfonySemdropsMobile/app/cache/dev/appdevUrlMatcher.php

https://github.com/castillojorge/SemdropsMobile · PHP · 268 lines · 171 code · 47 blank · 50 comment · 54 complexity · 9c1e156a6bc5ac3920502091e645eb95 MD5 · raw file

  1. <?php
  2. use Symfony\Component\Routing\Exception\MethodNotAllowedException;
  3. use Symfony\Component\Routing\Exception\ResourceNotFoundException;
  4. use Symfony\Component\Routing\RequestContext;
  5. /**
  6. * appdevUrlMatcher
  7. *
  8. * This class has been auto-generated
  9. * by the Symfony Routing Component.
  10. */
  11. class appdevUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
  12. {
  13. /**
  14. * Constructor.
  15. */
  16. public function __construct(RequestContext $context)
  17. {
  18. $this->context = $context;
  19. }
  20. public function match($pathinfo)
  21. {
  22. $allow = array();
  23. $pathinfo = urldecode($pathinfo);
  24. // _assetic_202485f
  25. if ($pathinfo === '/js/202485f.js') {
  26. return array ( '_controller' => 'assetic.controller:render', 'name' => '202485f', 'pos' => NULL, '_format' => 'js', '_route' => '_assetic_202485f',);
  27. }
  28. // _assetic_202485f_0
  29. if ($pathinfo === '/js/202485f_part_1_reset_form_field_1.js') {
  30. return array ( '_controller' => 'assetic.controller:render', 'name' => '202485f', 'pos' => 0, '_format' => 'js', '_route' => '_assetic_202485f_0',);
  31. }
  32. // _assetic_202485f_1
  33. if ($pathinfo === '/js/202485f_part_1_validate_url_2.js') {
  34. return array ( '_controller' => 'assetic.controller:render', 'name' => '202485f', 'pos' => 1, '_format' => 'js', '_route' => '_assetic_202485f_1',);
  35. }
  36. // _wdt
  37. if (preg_match('#^/_wdt/(?P<token>[^/]+?)$#x', $pathinfo, $matches)) {
  38. return array_merge($this->mergeDefaults($matches, array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::toolbarAction',)), array('_route' => '_wdt'));
  39. }
  40. if (0 === strpos($pathinfo, '/_profiler')) {
  41. // _profiler_search
  42. if ($pathinfo === '/_profiler/search') {
  43. return array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::searchAction', '_route' => '_profiler_search',);
  44. }
  45. // _profiler_purge
  46. if ($pathinfo === '/_profiler/purge') {
  47. return array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::purgeAction', '_route' => '_profiler_purge',);
  48. }
  49. // _profiler_import
  50. if ($pathinfo === '/_profiler/import') {
  51. return array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::importAction', '_route' => '_profiler_import',);
  52. }
  53. // _profiler_export
  54. if (0 === strpos($pathinfo, '/_profiler/export') && preg_match('#^/_profiler/export/(?P<token>[^/\\.]+?)\\.txt$#x', $pathinfo, $matches)) {
  55. return array_merge($this->mergeDefaults($matches, array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::exportAction',)), array('_route' => '_profiler_export'));
  56. }
  57. // _profiler_search_results
  58. if (preg_match('#^/_profiler/(?P<token>[^/]+?)/search/results$#x', $pathinfo, $matches)) {
  59. return array_merge($this->mergeDefaults($matches, array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::searchResultsAction',)), array('_route' => '_profiler_search_results'));
  60. }
  61. // _profiler
  62. if (preg_match('#^/_profiler/(?P<token>[^/]+?)$#x', $pathinfo, $matches)) {
  63. return array_merge($this->mergeDefaults($matches, array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::panelAction',)), array('_route' => '_profiler'));
  64. }
  65. }
  66. if (0 === strpos($pathinfo, '/_configurator')) {
  67. // _configurator_home
  68. if (rtrim($pathinfo, '/') === '/_configurator') {
  69. if (substr($pathinfo, -1) !== '/') {
  70. return $this->redirect($pathinfo.'/', '_configurator_home');
  71. }
  72. return array ( '_controller' => 'Sensio\\Bundle\\DistributionBundle\\Controller\\ConfiguratorController::checkAction', '_route' => '_configurator_home',);
  73. }
  74. // _configurator_step
  75. if (0 === strpos($pathinfo, '/_configurator/step') && preg_match('#^/_configurator/step/(?P<index>[^/]+?)$#x', $pathinfo, $matches)) {
  76. return array_merge($this->mergeDefaults($matches, array ( '_controller' => 'Sensio\\Bundle\\DistributionBundle\\Controller\\ConfiguratorController::stepAction',)), array('_route' => '_configurator_step'));
  77. }
  78. // _configurator_final
  79. if ($pathinfo === '/_configurator/final') {
  80. return array ( '_controller' => 'Sensio\\Bundle\\DistributionBundle\\Controller\\ConfiguratorController::finalAction', '_route' => '_configurator_final',);
  81. }
  82. }
  83. // homepage
  84. if (rtrim($pathinfo, '/') === '/semdrops') {
  85. if (substr($pathinfo, -1) !== '/') {
  86. return $this->redirect($pathinfo.'/', 'homepage');
  87. }
  88. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::indexAction', '_route' => 'homepage',);
  89. }
  90. // login
  91. if (rtrim($pathinfo, '/') === '') {
  92. if (substr($pathinfo, -1) !== '/') {
  93. return $this->redirect($pathinfo.'/', 'login');
  94. }
  95. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::index2Action', '_route' => 'login',);
  96. }
  97. // logout
  98. if ($pathinfo === '/semdrops/logout') {
  99. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::logoutAction', '_route' => 'logout',);
  100. }
  101. // validar
  102. if ($pathinfo === '/semdrops/validar') {
  103. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::validarAction', '_route' => 'validar',);
  104. }
  105. // addUser
  106. if ($pathinfo === '/semdrops/addUser') {
  107. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::addUserAction', '_route' => 'addUser',);
  108. }
  109. // doneAddUser
  110. if ($pathinfo === '/semdrops/doneAddUser') {
  111. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::doneAddUserAction', '_route' => 'doneAddUser',);
  112. }
  113. // getCategories
  114. if (rtrim($pathinfo, '/') === '/semdrops/get_categories') {
  115. if (substr($pathinfo, -1) !== '/') {
  116. return $this->redirect($pathinfo.'/', 'getCategories');
  117. }
  118. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::getCategoriesAction', '_route' => 'getCategories',);
  119. }
  120. // showCategories
  121. if (rtrim($pathinfo, '/') === '/semdrops/show_categories') {
  122. if (substr($pathinfo, -1) !== '/') {
  123. return $this->redirect($pathinfo.'/', 'showCategories');
  124. }
  125. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::showCategoriesAction', '_route' => 'showCategories',);
  126. }
  127. // addCategory
  128. if ($pathinfo === '/semdrops/add_category') {
  129. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::addCategoryAction', '_route' => 'addCategory',);
  130. }
  131. // doneCategory
  132. if ($pathinfo === '/donecategory') {
  133. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::doneCategoryAction', '_route' => 'doneCategory',);
  134. }
  135. // addPropertyTag
  136. if ($pathinfo === '/semdrops/add_propertyTag') {
  137. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::addPropertyTagAction', '_route' => 'addPropertyTag',);
  138. }
  139. // donePropertyTag
  140. if ($pathinfo === '/semdrops/doneproperty') {
  141. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::donePropertyTagAction', '_route' => 'donePropertyTag',);
  142. }
  143. // getProperties
  144. if (rtrim($pathinfo, '/') === '/semdrops/get_properties') {
  145. if (substr($pathinfo, -1) !== '/') {
  146. return $this->redirect($pathinfo.'/', 'getProperties');
  147. }
  148. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::getPropertiesAction', '_route' => 'getProperties',);
  149. }
  150. // showProperties
  151. if (rtrim($pathinfo, '/') === '/semdrops/show_properties') {
  152. if (substr($pathinfo, -1) !== '/') {
  153. return $this->redirect($pathinfo.'/', 'showProperties');
  154. }
  155. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::showPropertiesAction', '_route' => 'showProperties',);
  156. }
  157. // addAttributeTag
  158. if ($pathinfo === '/semdrops/add_attributeTag') {
  159. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::addAttributeTagAction', '_route' => 'addAttributeTag',);
  160. }
  161. // doneAttributeTag
  162. if ($pathinfo === '/semdrops/doneattribute') {
  163. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::doneAttributeTagAction', '_route' => 'doneAttributeTag',);
  164. }
  165. // getAttributes
  166. if (rtrim($pathinfo, '/') === '/semdrops/get_attributes') {
  167. if (substr($pathinfo, -1) !== '/') {
  168. return $this->redirect($pathinfo.'/', 'getAttributes');
  169. }
  170. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::getAttributesAction', '_route' => 'getAttributes',);
  171. }
  172. // showAttributes
  173. if (rtrim($pathinfo, '/') === '/semdrops/show_attributes') {
  174. if (substr($pathinfo, -1) !== '/') {
  175. return $this->redirect($pathinfo.'/', 'showAttributes');
  176. }
  177. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::showAttributesAction', '_route' => 'showAttributes',);
  178. }
  179. // changePass
  180. if ($pathinfo === '/semdrops/changePass') {
  181. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::changePassAction', '_route' => 'changePass',);
  182. }
  183. // doneChangePass
  184. if ($pathinfo === '/semdrops/doneChangePass') {
  185. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::doneChangePassAction', '_route' => 'doneChangePass',);
  186. }
  187. // changePassRec
  188. if ($pathinfo === '/semdrops/changePassRec') {
  189. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::changePassRecAction', '_route' => 'changePassRec',);
  190. }
  191. // doneChangePassRec
  192. if ($pathinfo === '/semdrops/doneChangePassRec') {
  193. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::doneChangePassRecAction', '_route' => 'doneChangePassRec',);
  194. }
  195. // tag
  196. if ($pathinfo === '/semdrops/tag') {
  197. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::TagAction', '_route' => 'tag',);
  198. }
  199. // tagForm
  200. if ($pathinfo === '/semdrops/tagForm') {
  201. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::tagFormAction', '_route' => 'tagForm',);
  202. }
  203. // procesarTag
  204. if ($pathinfo === '/semdrops/procesarTag') {
  205. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::tagProcesadoAction', '_route' => 'procesarTag',);
  206. }
  207. // doneCategoryObject
  208. if ($pathinfo === '/semdrops/doneCategoryObject') {
  209. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::doneCategoryObjectAction', '_route' => 'doneCategoryObject',);
  210. }
  211. // doneAttributeTagObject
  212. if ($pathinfo === '/semdrops/doneAttributeTagObject') {
  213. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::doneAttributeTagObjectAction', '_route' => 'doneAttributeTagObject',);
  214. }
  215. // donePropertyTagObject
  216. if ($pathinfo === '/semdrops/donePropertyTagObject') {
  217. return array ( '_controller' => 'Semdrops\\SemdropsMobileBundle\\Controller\\SemdropsController::donePropertyTagObjectAction', '_route' => 'donePropertyTagObject',);
  218. }
  219. throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
  220. }
  221. }