ÿØÿà JFIF ÿÛ „ ( %"1"%)+...383,7(-.-
![]() Server : LiteSpeed System : Linux v2202501248978307069 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 User : voirf6718 ( 1002) PHP Version : 7.3.33-1+focal Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, Directory : /home/voirfilmshd-gratuit.site/public_html/app/cache/dev/ |
<?php use Symfony\Component\Routing\Exception\MethodNotAllowedException; use Symfony\Component\Routing\Exception\ResourceNotFoundException; use Symfony\Component\Routing\RequestContext; /** * appDevDebugProjectContainerUrlMatcher. * * This class has been auto-generated * by the Symfony Routing Component. */ class appDevDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher { /** * Constructor. */ public function __construct(RequestContext $context) { $this->context = $context; } public function match($pathinfo) { $allow = array(); $pathinfo = rawurldecode($pathinfo); $context = $this->context; $request = $this->request; if (0 === strpos($pathinfo, '/_')) { // _wdt if (0 === strpos($pathinfo, '/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => '_wdt')), array ( '_controller' => 'web_profiler.controller.profiler:toolbarAction',)); } if (0 === strpos($pathinfo, '/_profiler')) { // _profiler_home if (rtrim($pathinfo, '/') === '/_profiler') { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', '_profiler_home'); } return array ( '_controller' => 'web_profiler.controller.profiler:homeAction', '_route' => '_profiler_home',); } if (0 === strpos($pathinfo, '/_profiler/search')) { // _profiler_search if ($pathinfo === '/_profiler/search') { return array ( '_controller' => 'web_profiler.controller.profiler:searchAction', '_route' => '_profiler_search',); } // _profiler_search_bar if ($pathinfo === '/_profiler/search_bar') { return array ( '_controller' => 'web_profiler.controller.profiler:searchBarAction', '_route' => '_profiler_search_bar',); } } // _profiler_purge if ($pathinfo === '/_profiler/purge') { return array ( '_controller' => 'web_profiler.controller.profiler:purgeAction', '_route' => '_profiler_purge',); } // _profiler_info if (0 === strpos($pathinfo, '/_profiler/info') && preg_match('#^/_profiler/info/(?P<about>[^/]++)$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_info')), array ( '_controller' => 'web_profiler.controller.profiler:infoAction',)); } // _profiler_phpinfo if ($pathinfo === '/_profiler/phpinfo') { return array ( '_controller' => 'web_profiler.controller.profiler:phpinfoAction', '_route' => '_profiler_phpinfo',); } // _profiler_search_results if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_search_results')), array ( '_controller' => 'web_profiler.controller.profiler:searchResultsAction',)); } // _profiler if (preg_match('#^/_profiler/(?P<token>[^/]++)$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler')), array ( '_controller' => 'web_profiler.controller.profiler:panelAction',)); } // _profiler_router if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_router')), array ( '_controller' => 'web_profiler.controller.router:panelAction',)); } // _profiler_exception if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception')), array ( '_controller' => 'web_profiler.controller.exception:showAction',)); } // _profiler_exception_css if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => '_profiler_exception_css')), array ( '_controller' => 'web_profiler.controller.exception:cssAction',)); } } // _twig_error_test if (0 === strpos($pathinfo, '/_error') && preg_match('#^/_error/(?P<code>\\d+)(?:\\.(?P<_format>[^/]++))?$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => '_twig_error_test')), array ( '_controller' => 'twig.controller.preview_error:previewErrorPageAction', '_format' => 'html',)); } } if (0 === strpos($pathinfo, '/a')) { if (0 === strpos($pathinfo, '/api/user')) { // api_user_register if (0 === strpos($pathinfo, '/api/user/register') && preg_match('#^/api/user/register/(?P<token>[^/]++)/(?P<purchase>[^/]++)/$#s', $pathinfo, $matches)) { if ($this->context->getMethod() != 'POST') { $allow[] = 'POST'; goto not_api_user_register; } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_user_register')), array ( '_controller' => 'UserBundle\\Controller\\UserController::api_registerAction',)); } not_api_user_register: // api_user_edit if (0 === strpos($pathinfo, '/api/user/edit') && preg_match('#^/api/user/edit/(?P<token>[^/]++)/(?P<purchase>[^/]++)/$#s', $pathinfo, $matches)) { if ($this->context->getMethod() != 'POST') { $allow[] = 'POST'; goto not_api_user_edit; } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_user_edit')), array ( '_controller' => 'UserBundle\\Controller\\UserController::api_editAction',)); } not_api_user_edit: // api_user_token if (0 === strpos($pathinfo, '/api/user/token') && preg_match('#^/api/user/token/(?P<token>[^/]++)/(?P<purchase>[^/]++)/$#s', $pathinfo, $matches)) { if ($this->context->getMethod() != 'POST') { $allow[] = 'POST'; goto not_api_user_token; } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_user_token')), array ( '_controller' => 'UserBundle\\Controller\\UserController::api_tokenAction',)); } not_api_user_token: // api_user_login if (0 === strpos($pathinfo, '/api/user/login') && preg_match('#^/api/user/login/(?P<token>[^/]++)/(?P<purchase>[^/]++)/$#s', $pathinfo, $matches)) { if ($this->context->getMethod() != 'POST') { $allow[] = 'POST'; goto not_api_user_login; } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_user_login')), array ( '_controller' => 'UserBundle\\Controller\\UserController::api_loginAction',)); } not_api_user_login: } if (0 === strpos($pathinfo, '/admin/users')) { // user_user_index if ($pathinfo === '/admin/users/index.html') { return array ( '_controller' => 'UserBundle\\Controller\\UserController::indexAction', '_route' => 'user_user_index',); } // user_user_edit if (0 === strpos($pathinfo, '/admin/users/edit') && preg_match('#^/admin/users/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_user_edit')), array ( '_controller' => 'UserBundle\\Controller\\UserController::editAction',)); } // user_user_comments if (0 === strpos($pathinfo, '/admin/users/comments') && preg_match('#^/admin/users/comments/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_user_comments')), array ( '_controller' => 'UserBundle\\Controller\\UserController::commentsAction',)); } // user_admin_user_subscriptions if (0 === strpos($pathinfo, '/admin/users/subscriptions') && preg_match('#^/admin/users/subscriptions/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_admin_user_subscriptions')), array ( '_controller' => 'UserBundle\\Controller\\UserController::admin_subscriptionsAction',)); } // user_user_ratings if (0 === strpos($pathinfo, '/admin/users/ratings') && preg_match('#^/admin/users/ratings/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_user_ratings')), array ( '_controller' => 'UserBundle\\Controller\\UserController::ratingsAction',)); } // user_user_delete if (0 === strpos($pathinfo, '/admin/users/delete') && preg_match('#^/admin/users/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'user_user_delete')), array ( '_controller' => 'UserBundle\\Controller\\UserController::deleteAction',)); } } if (0 === strpos($pathinfo, '/api/user')) { // api_user_check if (0 === strpos($pathinfo, '/api/user/check') && preg_match('#^/api/user/check/(?P<id>[^/]++)/(?P<key>[^/]++)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'HEAD')); goto not_api_user_check; } if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_user_check'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_user_check')), array ( '_controller' => 'UserBundle\\Controller\\UserController::api_checkAction',)); } not_api_user_check: // api_user_email if (0 === strpos($pathinfo, '/api/user/email') && preg_match('#^/api/user/email/(?P<email>[^/]++)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'HEAD')); goto not_api_user_email; } if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_user_email'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_user_email')), array ( '_controller' => 'UserBundle\\Controller\\ResettingController::api_emailAction',)); } not_api_user_email: if (0 === strpos($pathinfo, '/api/user/re')) { // api_user_request if (0 === strpos($pathinfo, '/api/user/request') && preg_match('#^/api/user/request/(?P<key>[^/]++)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'HEAD')); goto not_api_user_request; } if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_user_request'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_user_request')), array ( '_controller' => 'UserBundle\\Controller\\ResettingController::api_requestAction',)); } not_api_user_request: // api_user_reset if (0 === strpos($pathinfo, '/api/user/reset') && preg_match('#^/api/user/reset/(?P<id>[^/]++)/(?P<key>[^/]++)/(?P<new_password>[^/]++)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'HEAD')); goto not_api_user_reset; } if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_user_reset'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_user_reset')), array ( '_controller' => 'UserBundle\\Controller\\ResettingController::api_resetAction',)); } not_api_user_reset: } // api_user_change_password if (0 === strpos($pathinfo, '/api/user/password') && preg_match('#^/api/user/password/(?P<id>[^/]++)/(?P<password>[^/]++)/(?P<new_password>[^/]++)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'HEAD')); goto not_api_user_change_password; } if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_user_change_password'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_user_change_password')), array ( '_controller' => 'UserBundle\\Controller\\UserController::api_change_passwordAction',)); } not_api_user_change_password: } } // user_user_subscriptions if ($pathinfo === '/profile/subscriptions.html') { return array ( '_controller' => 'UserBundle\\Controller\\UserController::subscriptionsAction', '_route' => 'user_user_subscriptions',); } // ajax_login if (rtrim($pathinfo, '/') === '/ajax') { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'ajax_login'); } return array ( '_controller' => 'UserBundle\\Controller\\SecurityController::ajaxloginAction', '_route' => 'ajax_login',); } // user_login if (rtrim($pathinfo, '/') === '/login') { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'user_login'); } return array ( '_controller' => 'UserBundle\\Controller\\SecurityController::loginAction', '_route' => 'user_login',); } if (0 === strpos($pathinfo, '/admin')) { if (0 === strpos($pathinfo, '/admin/log')) { if (0 === strpos($pathinfo, '/admin/login')) { // admin_login if ($pathinfo === '/admin/login') { return array ( '_controller' => 'UserBundle\\Controller\\SecurityController::loginAction', '_route' => 'admin_login',); } // admin_check if ($pathinfo === '/admin/login_check') { return array ( '_controller' => 'UserBundle\\Controller\\SecurityController::checkAction', '_route' => 'admin_check',); } } // admin_logout if ($pathinfo === '/admin/logout') { return array ( '_controller' => 'UserBundle\\Controller\\SecurityController::logoutAction', '_route' => 'admin_logout',); } } // admin_change_password if ($pathinfo === '/admin/change-password') { return array ( '_controller' => 'FOS\\UserBundle\\Controller\\ChangePasswordController::adminchangePasswordAction', '_route' => 'admin_change_password',); } } // fos_user_resetting_reseted if ($pathinfo === '/resetting/reseted') { return array ( '_controller' => 'UserBundle\\Controller\\ResettingController::resetedAction', '_route' => 'fos_user_resetting_reseted',); } // fos_user_myprofile_edit if ($pathinfo === '/profile/edit.html') { return array ( '_controller' => 'UserBundle\\Controller\\UserController::myeditAction', '_route' => 'fos_user_myprofile_edit',); } // app_home_index if (rtrim($pathinfo, '/') === '/admin') { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'app_home_index'); } return array ( '_controller' => 'AppBundle\\Controller\\HomeController::indexAction', '_route' => 'app_home_index',); } // app_home_privacypolicy if ($pathinfo === '/privacy_policy.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::privacypolicyAction', '_route' => 'app_home_privacypolicy',); } if (0 === strpos($pathinfo, '/a')) { if (0 === strpos($pathinfo, '/admin')) { // app_home_websettings if ($pathinfo === '/admin/websettings.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::websettingsAction', '_route' => 'app_home_websettings',); } // app_home_settings if ($pathinfo === '/admin/settings.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::settingsAction', '_route' => 'app_home_settings',); } // app_home_payment if ($pathinfo === '/admin/payment.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::paymentAction', '_route' => 'app_home_payment',); } // app_home_faq if ($pathinfo === '/admin/faq.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::faqAction', '_route' => 'app_home_faq',); } // app_home_edit_privacypolicy if ($pathinfo === '/admin/privacypolicy.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::edit_privacypolicyAction', '_route' => 'app_home_edit_privacypolicy',); } // app_home_refundpolicy if ($pathinfo === '/admin/refundpolicy.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::refundpolicyAction', '_route' => 'app_home_refundpolicy',); } // app_home_ads if ($pathinfo === '/admin/ads.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::adsAction', '_route' => 'app_home_ads',); } // app_home_webads if ($pathinfo === '/admin/webads.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::webadsAction', '_route' => 'app_home_webads',); } if (0 === strpos($pathinfo, '/admin/notif')) { // app_home_notif_poster if ($pathinfo === '/admin/notif/poster.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::notifPosterAction', '_route' => 'app_home_notif_poster',); } // app_home_notif_channel if ($pathinfo === '/admin/notif/channel.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::notifChannelAction', '_route' => 'app_home_notif_channel',); } if (0 === strpos($pathinfo, '/admin/notif/u')) { // app_home_notif_url if ($pathinfo === '/admin/notif/url.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::notifUrlAction', '_route' => 'app_home_notif_url',); } if (0 === strpos($pathinfo, '/admin/notif/user')) { if (0 === strpos($pathinfo, '/admin/notif/user_')) { // app_home_notif_user_status if ($pathinfo === '/admin/notif/user_status.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::notifUserStatusAction', '_route' => 'app_home_notif_user_status',); } // app_home_notif_user_payment if ($pathinfo === '/admin/notif/user_payment.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::notifUserPaymentAction', '_route' => 'app_home_notif_user_payment',); } } // app_home_notif_user if ($pathinfo === '/admin/notif/user.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::notifUserAction', '_route' => 'app_home_notif_user',); } } } // app_home_notif_category if ($pathinfo === '/admin/notif/category.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::notifCategoryAction', '_route' => 'app_home_notif_category',); } // app_home_notif_genre if ($pathinfo === '/admin/notif/genre.html') { return array ( '_controller' => 'AppBundle\\Controller\\HomeController::notifGenreAction', '_route' => 'app_home_notif_genre',); } } } if (0 === strpos($pathinfo, '/api')) { // api_home_api_first if (0 === strpos($pathinfo, '/api/first') && preg_match('#^/api/first/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_home_api_first'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_home_api_first')), array ( '_controller' => 'AppBundle\\Controller\\HomeController::api_firstAction',)); } // api_home_api_my_list if (0 === strpos($pathinfo, '/api/mylist') && preg_match('#^/api/mylist/(?P<id>[^/]++)/(?P<key>[^/]++)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_home_api_my_list'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_home_api_my_list')), array ( '_controller' => 'AppBundle\\Controller\\HomeController::api_mylistAction',)); } // api_home_api_addlist if (0 === strpos($pathinfo, '/api/add/mylist') && preg_match('#^/api/add/mylist/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_home_api_addlist'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_home_api_addlist')), array ( '_controller' => 'AppBundle\\Controller\\HomeController::api_addlistAction',)); } // api_home_api_check if (0 === strpos($pathinfo, '/api/check/mylist') && preg_match('#^/api/check/mylist/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_home_api_check'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_home_api_check')), array ( '_controller' => 'AppBundle\\Controller\\HomeController::api_checklistAction',)); } // api_home_api_search if (0 === strpos($pathinfo, '/api/search') && preg_match('#^/api/search/(?P<query>[^/]++)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_home_api_search'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_home_api_search')), array ( '_controller' => 'AppBundle\\Controller\\HomeController::api_searchAction',)); } // api_home_api_device if (0 === strpos($pathinfo, '/api/device') && preg_match('#^/api/device/(?P<tkn>[^/]++)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_home_api_device'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_home_api_device')), array ( '_controller' => 'AppBundle\\Controller\\HomeController::api_deviceAction',)); } } if (0 === strpos($pathinfo, '/admin')) { if (0 === strpos($pathinfo, '/admin/support')) { // app_support_index if ($pathinfo === '/admin/support/index.html') { return array ( '_controller' => 'AppBundle\\Controller\\SupportController::indexAction', '_route' => 'app_support_index',); } // app_support_view if (0 === strpos($pathinfo, '/admin/support/view') && preg_match('#^/admin/support/view/(?P<id>[^/\\.]++)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_support_view')), array ( '_controller' => 'AppBundle\\Controller\\SupportController::viewAction',)); } } // app_support_delete if (0 === strpos($pathinfo, '/admin//support/delete') && preg_match('#^/admin//support/delete/(?P<id>[^/\\.]++)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_support_delete')), array ( '_controller' => 'AppBundle\\Controller\\SupportController::deleteAction',)); } } if (0 === strpos($pathinfo, '/api/su')) { // api_support_add if (0 === strpos($pathinfo, '/api/support/add') && preg_match('#^/api/support/add/(?P<token>[^/]++)/(?P<purchase>[^/]++)/$#s', $pathinfo, $matches)) { if ($this->context->getMethod() != 'POST') { $allow[] = 'POST'; goto not_api_support_add; } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_support_add')), array ( '_controller' => 'AppBundle\\Controller\\SupportController::api_addAction',)); } not_api_support_add: if (0 === strpos($pathinfo, '/api/subscription')) { // api_subscription_paypal if (0 === strpos($pathinfo, '/api/subscription/paypal') && preg_match('#^/api/subscription/paypal/(?P<token>[^/]++)/(?P<purchase>[^/]++)/$#s', $pathinfo, $matches)) { if ($this->context->getMethod() != 'POST') { $allow[] = 'POST'; goto not_api_subscription_paypal; } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_subscription_paypal')), array ( '_controller' => 'AppBundle\\Controller\\SubscriptionController::api_paypalAction',)); } not_api_subscription_paypal: // api_subscription_stripe if (0 === strpos($pathinfo, '/api/subscription/stripe') && preg_match('#^/api/subscription/stripe/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_subscription_stripe'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_subscription_stripe')), array ( '_controller' => 'AppBundle\\Controller\\SubscriptionController::api_stripeAction',)); } // api_subscription_cash if (0 === strpos($pathinfo, '/api/subscription/cash') && preg_match('#^/api/subscription/cash/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_subscription_cash'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_subscription_cash')), array ( '_controller' => 'AppBundle\\Controller\\SubscriptionController::api_cashAction',)); } // api_subscription_intent if (0 === strpos($pathinfo, '/api/subscription/intent') && preg_match('#^/api/subscription/intent/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_subscription_intent'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_subscription_intent')), array ( '_controller' => 'AppBundle\\Controller\\SubscriptionController::api_intentAction',)); } } } if (0 === strpos($pathinfo, '/admin/slide')) { // app_slide_add if ($pathinfo === '/admin/slide/add.html') { return array ( '_controller' => 'AppBundle\\Controller\\SlideController::addAction', '_route' => 'app_slide_add',); } // app_slide_index if ($pathinfo === '/admin/slide/index.html') { return array ( '_controller' => 'AppBundle\\Controller\\SlideController::indexAction', '_route' => 'app_slide_index',); } // app_slide_edit if (preg_match('#^/admin/slide/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_slide_edit')), array ( '_controller' => 'AppBundle\\Controller\\SlideController::editAction',)); } // app_slide_delete if (0 === strpos($pathinfo, '/admin/slide/delete') && preg_match('#^/admin/slide/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_slide_delete')), array ( '_controller' => 'AppBundle\\Controller\\SlideController::deleteAction',)); } // app_slide_up if (0 === strpos($pathinfo, '/admin/slide/up') && preg_match('#^/admin/slide/up/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_slide_up')), array ( '_controller' => 'AppBundle\\Controller\\SlideController::upAction',)); } // app_slide_down if (0 === strpos($pathinfo, '/admin/slide/down') && preg_match('#^/admin/slide/down/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_slide_down')), array ( '_controller' => 'AppBundle\\Controller\\SlideController::downAction',)); } } // api_slide_all if (0 === strpos($pathinfo, '/api/slide/all') && preg_match('#^/api/slide/all/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_slide_all'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_slide_all')), array ( '_controller' => 'AppBundle\\Controller\\SlideController::api_allAction',)); } if (0 === strpos($pathinfo, '/admin/category')) { // app_category_index if ($pathinfo === '/admin/category/index.html') { return array ( '_controller' => 'AppBundle\\Controller\\CategoryController::indexAction', '_route' => 'app_category_index',); } // app_category_add if ($pathinfo === '/admin/category/add.html') { return array ( '_controller' => 'AppBundle\\Controller\\CategoryController::addAction', '_route' => 'app_category_add',); } // app_category_edit if (0 === strpos($pathinfo, '/admin/category/edit') && preg_match('#^/admin/category/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_category_edit')), array ( '_controller' => 'AppBundle\\Controller\\CategoryController::editAction',)); } // app_category_delete if (0 === strpos($pathinfo, '/admin/category/delete') && preg_match('#^/admin/category/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_category_delete')), array ( '_controller' => 'AppBundle\\Controller\\CategoryController::deleteAction',)); } // app_category_up if (0 === strpos($pathinfo, '/admin/category/up') && preg_match('#^/admin/category/up/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_category_up')), array ( '_controller' => 'AppBundle\\Controller\\CategoryController::upAction',)); } // app_category_down if (0 === strpos($pathinfo, '/admin/category/down') && preg_match('#^/admin/category/down/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_category_down')), array ( '_controller' => 'AppBundle\\Controller\\CategoryController::downAction',)); } } if (0 === strpos($pathinfo, '/api/category')) { // api_category_all if (0 === strpos($pathinfo, '/api/category/all') && preg_match('#^/api/category/all/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_category_all'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_category_all')), array ( '_controller' => 'AppBundle\\Controller\\CategoryController::api_allAction',)); } // api_category_popular if (0 === strpos($pathinfo, '/api/category/popular') && preg_match('#^/api/category/popular/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_category_popular'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_category_popular')), array ( '_controller' => 'AppBundle\\Controller\\CategoryController::api_popularAction',)); } } if (0 === strpos($pathinfo, '/admin/country')) { // app_country_index if ($pathinfo === '/admin/country/index.html') { return array ( '_controller' => 'AppBundle\\Controller\\CountryController::indexAction', '_route' => 'app_country_index',); } // app_country_add if ($pathinfo === '/admin/country/add.html') { return array ( '_controller' => 'AppBundle\\Controller\\CountryController::addAction', '_route' => 'app_country_add',); } // app_country_edit if (0 === strpos($pathinfo, '/admin/country/edit') && preg_match('#^/admin/country/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_country_edit')), array ( '_controller' => 'AppBundle\\Controller\\CountryController::editAction',)); } // app_country_delete if (0 === strpos($pathinfo, '/admin/country/delete') && preg_match('#^/admin/country/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_country_delete')), array ( '_controller' => 'AppBundle\\Controller\\CountryController::deleteAction',)); } } // api_country_all if (0 === strpos($pathinfo, '/api/country/all') && preg_match('#^/api/country/all/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_country_all'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_country_all')), array ( '_controller' => 'AppBundle\\Controller\\CountryController::api_allAction',)); } if (0 === strpos($pathinfo, '/admin')) { if (0 === strpos($pathinfo, '/admin/subscription')) { // app_subscription_index if ($pathinfo === '/admin/subscription/index.html') { return array ( '_controller' => 'AppBundle\\Controller\\SubscriptionController::indexAction', '_route' => 'app_subscription_index',); } // app_subscription_add if ($pathinfo === '/admin/subscription/add.html') { return array ( '_controller' => 'AppBundle\\Controller\\SubscriptionController::addAction', '_route' => 'app_subscription_add',); } // app_subscription_edit if (0 === strpos($pathinfo, '/admin/subscription/edit') && preg_match('#^/admin/subscription/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_subscription_edit')), array ( '_controller' => 'AppBundle\\Controller\\SubscriptionController::editAction',)); } // app_subscription_delete if (0 === strpos($pathinfo, '/admin/subscription/delete') && preg_match('#^/admin/subscription/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_subscription_delete')), array ( '_controller' => 'AppBundle\\Controller\\SubscriptionController::deleteAction',)); } } if (0 === strpos($pathinfo, '/admin/pack')) { // app_pack_index if ($pathinfo === '/admin/pack/index.html') { return array ( '_controller' => 'AppBundle\\Controller\\PackController::indexAction', '_route' => 'app_pack_index',); } // app_pack_add if ($pathinfo === '/admin/pack/add.html') { return array ( '_controller' => 'AppBundle\\Controller\\PackController::addAction', '_route' => 'app_pack_add',); } // app_pack_edit if (0 === strpos($pathinfo, '/admin/pack/edit') && preg_match('#^/admin/pack/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_pack_edit')), array ( '_controller' => 'AppBundle\\Controller\\PackController::editAction',)); } // app_pack_delete if (0 === strpos($pathinfo, '/admin/pack/delete') && preg_match('#^/admin/pack/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_pack_delete')), array ( '_controller' => 'AppBundle\\Controller\\PackController::deleteAction',)); } } } // api_pack_all if (0 === strpos($pathinfo, '/api/pack/all') && preg_match('#^/api/pack/all/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_pack_all'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_pack_all')), array ( '_controller' => 'AppBundle\\Controller\\PackController::api_allAction',)); } if (0 === strpos($pathinfo, '/admin/genre')) { // app_genre_index if ($pathinfo === '/admin/genre/index.html') { return array ( '_controller' => 'AppBundle\\Controller\\GenreController::indexAction', '_route' => 'app_genre_index',); } // app_genre_add if ($pathinfo === '/admin/genre/add.html') { return array ( '_controller' => 'AppBundle\\Controller\\GenreController::addAction', '_route' => 'app_genre_add',); } // app_genre_edit if (0 === strpos($pathinfo, '/admin/genre/edit') && preg_match('#^/admin/genre/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_genre_edit')), array ( '_controller' => 'AppBundle\\Controller\\GenreController::editAction',)); } // app_genre_delete if (0 === strpos($pathinfo, '/admin/genre/delete') && preg_match('#^/admin/genre/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_genre_delete')), array ( '_controller' => 'AppBundle\\Controller\\GenreController::deleteAction',)); } // app_genre_up if (0 === strpos($pathinfo, '/admin/genre/up') && preg_match('#^/admin/genre/up/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_genre_up')), array ( '_controller' => 'AppBundle\\Controller\\GenreController::upAction',)); } // app_genre_down if (0 === strpos($pathinfo, '/admin/genre/down') && preg_match('#^/admin/genre/down/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_genre_down')), array ( '_controller' => 'AppBundle\\Controller\\GenreController::downAction',)); } } // api_genre_all if (0 === strpos($pathinfo, '/api/genre/all') && preg_match('#^/api/genre/all/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_genre_all'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_genre_all')), array ( '_controller' => 'AppBundle\\Controller\\GenreController::api_allAction',)); } if (0 === strpos($pathinfo, '/admin/channel')) { // app_channel_index if ($pathinfo === '/admin/channel/index.html') { return array ( '_controller' => 'AppBundle\\Controller\\ChannelController::indexAction', '_route' => 'app_channel_index',); } // app_channel_add if ($pathinfo === '/admin/channel/add.html') { return array ( '_controller' => 'AppBundle\\Controller\\ChannelController::addAction', '_route' => 'app_channel_add',); } // app_channel_edit if (0 === strpos($pathinfo, '/admin/channel/edit') && preg_match('#^/admin/channel/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_channel_edit')), array ( '_controller' => 'AppBundle\\Controller\\ChannelController::editAction',)); } // app_channel_sources if (0 === strpos($pathinfo, '/admin/channel/sources') && preg_match('#^/admin/channel/sources/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_channel_sources')), array ( '_controller' => 'AppBundle\\Controller\\ChannelController::sourcesAction',)); } // app_channel_ratings if (0 === strpos($pathinfo, '/admin/channel/ratings') && preg_match('#^/admin/channel/ratings/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_channel_ratings')), array ( '_controller' => 'AppBundle\\Controller\\ChannelController::ratingsAction',)); } // app_channel_comments if (0 === strpos($pathinfo, '/admin/channel/comments') && preg_match('#^/admin/channel/comments/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_channel_comments')), array ( '_controller' => 'AppBundle\\Controller\\ChannelController::commentsAction',)); } // app_channel_delete if (0 === strpos($pathinfo, '/admin/channel/delete') && preg_match('#^/admin/channel/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_channel_delete')), array ( '_controller' => 'AppBundle\\Controller\\ChannelController::deleteAction',)); } } } // app_channel_share if (0 === strpos($pathinfo, '/c/share') && preg_match('#^/c/share/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_channel_share')), array ( '_controller' => 'AppBundle\\Controller\\ChannelController::shareAction',)); } if (0 === strpos($pathinfo, '/a')) { if (0 === strpos($pathinfo, '/api/channel')) { // api_channel_random if (0 === strpos($pathinfo, '/api/channel/random') && preg_match('#^/api/channel/random/(?P<categories>[^/]++)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_channel_random'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_channel_random')), array ( '_controller' => 'AppBundle\\Controller\\ChannelController::api_randomAction',)); } if (0 === strpos($pathinfo, '/api/channel/by')) { // api_channel_by_filtres if (0 === strpos($pathinfo, '/api/channel/by/filtres') && preg_match('#^/api/channel/by/filtres/(?P<category>\\d+)/(?P<country>\\d+)/(?P<page>\\d+)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_channel_by_filtres'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_channel_by_filtres')), array ( '_controller' => 'AppBundle\\Controller\\ChannelController::api_by_filtresAction',)); } // api_channel_by_id if (preg_match('#^/api/channel/by/(?P<id>\\d+)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_channel_by_id'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_channel_by_id')), array ( '_controller' => 'AppBundle\\Controller\\ChannelController::api_by_idAction',)); } } } if (0 === strpos($pathinfo, '/admin/season')) { // app_season_add if (0 === strpos($pathinfo, '/admin/season/add') && preg_match('#^/admin/season/add/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_season_add')), array ( '_controller' => 'AppBundle\\Controller\\SeasonController::addAction',)); } // app_season_edit if (0 === strpos($pathinfo, '/admin/season/edit') && preg_match('#^/admin/season/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_season_edit')), array ( '_controller' => 'AppBundle\\Controller\\SeasonController::editAction',)); } // app_season_delete if (0 === strpos($pathinfo, '/admin/season/delete') && preg_match('#^/admin/season/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_season_delete')), array ( '_controller' => 'AppBundle\\Controller\\SeasonController::deleteAction',)); } // app_season_up if (0 === strpos($pathinfo, '/admin/season/up') && preg_match('#^/admin/season/up/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_season_up')), array ( '_controller' => 'AppBundle\\Controller\\SeasonController::upAction',)); } // app_season_down if (0 === strpos($pathinfo, '/admin/season/down') && preg_match('#^/admin/season/down/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_season_down')), array ( '_controller' => 'AppBundle\\Controller\\SeasonController::downAction',)); } } // api_season_by_serie if (0 === strpos($pathinfo, '/api/season/by/serie') && preg_match('#^/api/season/by/serie/(?P<id>\\d+)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_season_by_serie'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_season_by_serie')), array ( '_controller' => 'AppBundle\\Controller\\SeasonController::api_by_serieAction',)); } if (0 === strpos($pathinfo, '/admin/episode')) { // app_episode_add if (0 === strpos($pathinfo, '/admin/episode/add') && preg_match('#^/admin/episode/add/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_episode_add')), array ( '_controller' => 'AppBundle\\Controller\\EpisodeController::addAction',)); } // app_episode_edit if (0 === strpos($pathinfo, '/admin/episode/edit') && preg_match('#^/admin/episode/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_episode_edit')), array ( '_controller' => 'AppBundle\\Controller\\EpisodeController::editAction',)); } if (0 === strpos($pathinfo, '/admin/episode/s')) { // app_episode_sources if (0 === strpos($pathinfo, '/admin/episode/sources') && preg_match('#^/admin/episode/sources/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_episode_sources')), array ( '_controller' => 'AppBundle\\Controller\\EpisodeController::sourcesAction',)); } // app_episode_subtitles if (0 === strpos($pathinfo, '/admin/episode/subtitles') && preg_match('#^/admin/episode/subtitles/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_episode_subtitles')), array ( '_controller' => 'AppBundle\\Controller\\EpisodeController::subtitlesAction',)); } } // app_episode_delete if (0 === strpos($pathinfo, '/admin/episode/delete') && preg_match('#^/admin/episode/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_episode_delete')), array ( '_controller' => 'AppBundle\\Controller\\EpisodeController::deleteAction',)); } // app_episode_up if (0 === strpos($pathinfo, '/admin/episode/up') && preg_match('#^/admin/episode/up/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_episode_up')), array ( '_controller' => 'AppBundle\\Controller\\EpisodeController::upAction',)); } // app_episode_down if (0 === strpos($pathinfo, '/admin/episode/down') && preg_match('#^/admin/episode/down/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_episode_down')), array ( '_controller' => 'AppBundle\\Controller\\EpisodeController::downAction',)); } } if (0 === strpos($pathinfo, '/api/episode/add')) { // api_episode_add_download if (0 === strpos($pathinfo, '/api/episode/add/download') && preg_match('#^/api/episode/add/download/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_episode_add_download'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_episode_add_download')), array ( '_controller' => 'AppBundle\\Controller\\EpisodeController::api_add_downloadAction',)); } // api_episode_add_view if (0 === strpos($pathinfo, '/api/episode/add/view') && preg_match('#^/api/episode/add/view/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_episode_add_view'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_episode_add_view')), array ( '_controller' => 'AppBundle\\Controller\\EpisodeController::api_add_viewAction',)); } } if (0 === strpos($pathinfo, '/admin/serie')) { // app_serie_index if ($pathinfo === '/admin/serie/index.html') { return array ( '_controller' => 'AppBundle\\Controller\\SerieController::indexAction', '_route' => 'app_serie_index',); } // app_serie_add if ($pathinfo === '/admin/serie/add.html') { return array ( '_controller' => 'AppBundle\\Controller\\SerieController::addAction', '_route' => 'app_serie_add',); } if (0 === strpos($pathinfo, '/admin/serie/import')) { // app_serie_import if ($pathinfo === '/admin/serie/import.html') { return array ( '_controller' => 'AppBundle\\Controller\\SerieController::importAction', '_route' => 'app_serie_import',); } // app_serie_import_keywords if (0 === strpos($pathinfo, '/admin/serie/import/keywords') && preg_match('#^/admin/serie/import/keywords/(?P<id>\\d+)/(?P<serie>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_serie_import_keywords')), array ( '_controller' => 'AppBundle\\Controller\\SerieController::import_keywordsAction',)); } // app_serie_import_casts if (0 === strpos($pathinfo, '/admin/serie/import/casts') && preg_match('#^/admin/serie/import/casts/(?P<id>\\d+)/(?P<serie>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_serie_import_casts')), array ( '_controller' => 'AppBundle\\Controller\\SerieController::import_castsAction',)); } // app_serie_import_trailer if (0 === strpos($pathinfo, '/admin/serie/import/trailer') && preg_match('#^/admin/serie/import/trailer/(?P<id>\\d+)/(?P<serie>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_serie_import_trailer')), array ( '_controller' => 'AppBundle\\Controller\\SerieController::import_trailerAction',)); } if (0 === strpos($pathinfo, '/admin/serie/import/episodes')) { // app_serie_import_episodes if (preg_match('#^/admin/serie/import/episodes/(?P<id>\\d+)/(?P<serie>\\d+)/(?P<season>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_serie_import_episodes')), array ( '_controller' => 'AppBundle\\Controller\\SerieController::import_episodesAction',)); } // app_serie_import_done if (preg_match('#^/admin/serie/import/episodes/(?P<id>\\d+)/(?P<serie>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_serie_import_done')), array ( '_controller' => 'AppBundle\\Controller\\SerieController::import_doneAction',)); } } } // app_serie_edit if (0 === strpos($pathinfo, '/admin/serie/edit') && preg_match('#^/admin/serie/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_serie_edit')), array ( '_controller' => 'AppBundle\\Controller\\SerieController::editAction',)); } // app_serie_delete if (0 === strpos($pathinfo, '/admin/serie/delete') && preg_match('#^/admin/serie/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_serie_delete')), array ( '_controller' => 'AppBundle\\Controller\\SerieController::deleteAction',)); } // app_serie_cast if (0 === strpos($pathinfo, '/admin/serie/cast') && preg_match('#^/admin/serie/cast/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_serie_cast')), array ( '_controller' => 'AppBundle\\Controller\\SerieController::castAction',)); } // app_serie_trailer if (0 === strpos($pathinfo, '/admin/serie/trailer') && preg_match('#^/admin/serie/trailer/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_serie_trailer')), array ( '_controller' => 'AppBundle\\Controller\\SerieController::trailerAction',)); } // app_serie_seasons if (0 === strpos($pathinfo, '/admin/serie/seasons') && preg_match('#^/admin/serie/seasons/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_serie_seasons')), array ( '_controller' => 'AppBundle\\Controller\\SerieController::seasonsAction',)); } // app_serie_comments if (0 === strpos($pathinfo, '/admin/serie/comments') && preg_match('#^/admin/serie/comments/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_serie_comments')), array ( '_controller' => 'AppBundle\\Controller\\SerieController::commentsAction',)); } // app_serie_ratings if (0 === strpos($pathinfo, '/admin/serie/ratings') && preg_match('#^/admin/serie/ratings/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_serie_ratings')), array ( '_controller' => 'AppBundle\\Controller\\SerieController::ratingsAction',)); } } // api_serie_by_filtres if (0 === strpos($pathinfo, '/api/serie/by/filtres') && preg_match('#^/api/serie/by/filtres/(?P<genre>\\d+)/(?P<order>[^/]++)/(?P<page>\\d+)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_serie_by_filtres'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_serie_by_filtres')), array ( '_controller' => 'AppBundle\\Controller\\SerieController::api_by_filtresAction',)); } if (0 === strpos($pathinfo, '/admin/movie')) { // app_movie_index if ($pathinfo === '/admin/movie/index.html') { return array ( '_controller' => 'AppBundle\\Controller\\MovieController::indexAction', '_route' => 'app_movie_index',); } // app_movie_add if ($pathinfo === '/admin/movie/add.html') { return array ( '_controller' => 'AppBundle\\Controller\\MovieController::addAction', '_route' => 'app_movie_add',); } if (0 === strpos($pathinfo, '/admin/movie/import')) { // app_movie_import if ($pathinfo === '/admin/movie/import.html') { return array ( '_controller' => 'AppBundle\\Controller\\MovieController::importAction', '_route' => 'app_movie_import',); } // app_movie_import_keywords if (0 === strpos($pathinfo, '/admin/movie/import/keywords') && preg_match('#^/admin/movie/import/keywords/(?P<id>\\d+)/(?P<movie>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_movie_import_keywords')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::import_keywordsAction',)); } // app_movie_import_casts if (0 === strpos($pathinfo, '/admin/movie/import/casts') && preg_match('#^/admin/movie/import/casts/(?P<id>\\d+)/(?P<movie>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_movie_import_casts')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::import_castsAction',)); } // app_movie_import_trailer if (0 === strpos($pathinfo, '/admin/movie/import/trailer') && preg_match('#^/admin/movie/import/trailer/(?P<id>\\d+)/(?P<movie>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_movie_import_trailer')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::import_trailerAction',)); } } // app_movie_edit if (0 === strpos($pathinfo, '/admin/movie/edit') && preg_match('#^/admin/movie/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_movie_edit')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::editAction',)); } // app_movie_delete if (0 === strpos($pathinfo, '/admin/movie/delete') && preg_match('#^/admin/movie/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_movie_delete')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::deleteAction',)); } // app_movie_sources if (0 === strpos($pathinfo, '/admin/movie/sources') && preg_match('#^/admin/movie/sources/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_movie_sources')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::sourcesAction',)); } // app_movie_cast if (0 === strpos($pathinfo, '/admin/movie/cast') && preg_match('#^/admin/movie/cast/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_movie_cast')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::castAction',)); } // app_movie_trailer if (0 === strpos($pathinfo, '/admin/movie/trailer') && preg_match('#^/admin/movie/trailer/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_movie_trailer')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::trailerAction',)); } // app_movie_subtitles if (0 === strpos($pathinfo, '/admin/movie/subtitles') && preg_match('#^/admin/movie/subtitles/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_movie_subtitles')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::subtitlesAction',)); } // app_movie_comments if (0 === strpos($pathinfo, '/admin/movie/comments') && preg_match('#^/admin/movie/comments/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_movie_comments')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::commentsAction',)); } // app_movie_ratings if (0 === strpos($pathinfo, '/admin/movie/ratings') && preg_match('#^/admin/movie/ratings/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_movie_ratings')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::ratingsAction',)); } } } // app_movie_share if (0 === strpos($pathinfo, '/share') && preg_match('#^/share/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_movie_share')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::shareAction',)); } if (0 === strpos($pathinfo, '/a')) { if (0 === strpos($pathinfo, '/api')) { if (0 === strpos($pathinfo, '/api/movie')) { // api_movie_random if (0 === strpos($pathinfo, '/api/movie/random') && preg_match('#^/api/movie/random/(?P<genres>[^/]++)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_movie_random'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_movie_random')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::api_randomAction',)); } // api_movie_by_filtres if (0 === strpos($pathinfo, '/api/movie/by/filtres') && preg_match('#^/api/movie/by/filtres/(?P<genre>\\d+)/(?P<order>[^/]++)/(?P<page>\\d+)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_movie_by_filtres'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_movie_by_filtres')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::api_by_filtresAction',)); } } // api_poster_by_filtres if (0 === strpos($pathinfo, '/api/poster/by/filtres') && preg_match('#^/api/poster/by/filtres/(?P<genre>\\d+)/(?P<order>[^/]++)/(?P<page>\\d+)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_poster_by_filtres'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_poster_by_filtres')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::api_poster_by_filtresAction',)); } if (0 === strpos($pathinfo, '/api/movie')) { if (0 === strpos($pathinfo, '/api/movie/by')) { // api_movie_by_user if (0 === strpos($pathinfo, '/api/movie/by/actor') && preg_match('#^/api/movie/by/actor/(?P<id>\\d+)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_movie_by_user'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_movie_by_user')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::api_by_actorAction',)); } // api_movie_by_id if (preg_match('#^/api/movie/by/(?P<id>[^/]++)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_movie_by_id'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_movie_by_id')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::api_by_idAction',)); } } if (0 === strpos($pathinfo, '/api/movie/add')) { // api_movie_add_download if (0 === strpos($pathinfo, '/api/movie/add/download') && preg_match('#^/api/movie/add/download/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_movie_add_download'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_movie_add_download')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::api_add_downloadAction',)); } // api_movie_add_view if (0 === strpos($pathinfo, '/api/movie/add/view') && preg_match('#^/api/movie/add/view/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_movie_add_view'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_movie_add_view')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::api_add_viewAction',)); } } } // api_poster_add_share if (0 === strpos($pathinfo, '/api/poster/add/share') && preg_match('#^/api/poster/add/share/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_poster_add_share'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_poster_add_share')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::api_add_shareAction',)); } if (0 === strpos($pathinfo, '/api/rate')) { // api_rate_poster_add if (0 === strpos($pathinfo, '/api/rate/poster/add') && preg_match('#^/api/rate/poster/add/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_rate_poster_add'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_rate_poster_add')), array ( '_controller' => 'AppBundle\\Controller\\MovieController::api_add_rateAction',)); } // api_rate_channel_add if (0 === strpos($pathinfo, '/api/rate/channel/add') && preg_match('#^/api/rate/channel/add/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_rate_channel_add'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_rate_channel_add')), array ( '_controller' => 'AppBundle\\Controller\\ChannelController::api_add_rateAction',)); } } } if (0 === strpos($pathinfo, '/admin/actor')) { // app_actor_index if ($pathinfo === '/admin/actor/index.html') { return array ( '_controller' => 'AppBundle\\Controller\\ActorController::indexAction', '_route' => 'app_actor_index',); } // app_actor_add if ($pathinfo === '/admin/actor/add.html') { return array ( '_controller' => 'AppBundle\\Controller\\ActorController::addAction', '_route' => 'app_actor_add',); } // app_actor_edit if (0 === strpos($pathinfo, '/admin/actor/edit') && preg_match('#^/admin/actor/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_actor_edit')), array ( '_controller' => 'AppBundle\\Controller\\ActorController::editAction',)); } // app_actor_delete if (0 === strpos($pathinfo, '/admin/actor/delete') && preg_match('#^/admin/actor/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_actor_delete')), array ( '_controller' => 'AppBundle\\Controller\\ActorController::deleteAction',)); } } // api_actor_all if (0 === strpos($pathinfo, '/api/actor/all') && preg_match('#^/api/actor/all/(?P<page>\\d+)/(?P<search>[^/]++)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_actor_all'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_actor_all')), array ( '_controller' => 'AppBundle\\Controller\\ActorController::api_allAction',)); } if (0 === strpos($pathinfo, '/admin/subtitle')) { // app_subtitle_edit if (0 === strpos($pathinfo, '/admin/subtitle/edit') && preg_match('#^/admin/subtitle/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_subtitle_edit')), array ( '_controller' => 'AppBundle\\Controller\\SubtitleController::editAction',)); } if (0 === strpos($pathinfo, '/admin/subtitle/add')) { // app_subtitle_add if (preg_match('#^/admin/subtitle/add/(?P<poster>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_subtitle_add')), array ( '_controller' => 'AppBundle\\Controller\\SubtitleController::addAction',)); } // app_subtitle_add_episode if (0 === strpos($pathinfo, '/admin/subtitle/add/episode') && preg_match('#^/admin/subtitle/add/episode/(?P<episode>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_subtitle_add_episode')), array ( '_controller' => 'AppBundle\\Controller\\SubtitleController::add_episodeAction',)); } } // app_subtitle_delete if (0 === strpos($pathinfo, '/admin/subtitle/delete') && preg_match('#^/admin/subtitle/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_subtitle_delete')), array ( '_controller' => 'AppBundle\\Controller\\SubtitleController::deleteAction',)); } } if (0 === strpos($pathinfo, '/api/subtitle')) { if (0 === strpos($pathinfo, '/api/subtitles/by')) { // api_subtitle_by_movie if (0 === strpos($pathinfo, '/api/subtitles/by/movie') && preg_match('#^/api/subtitles/by/movie/(?P<id>\\d+)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_subtitle_by_movie'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_subtitle_by_movie')), array ( '_controller' => 'AppBundle\\Controller\\SubtitleController::api_by_movieAction',)); } // api_subtitle_by_episode if (0 === strpos($pathinfo, '/api/subtitles/by/episode') && preg_match('#^/api/subtitles/by/episode/(?P<id>\\d+)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_subtitle_by_episode'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_subtitle_by_episode')), array ( '_controller' => 'AppBundle\\Controller\\SubtitleController::api_by_episodeAction',)); } } // api_subtitle_by_id if (preg_match('#^/api/subtitle/(?P<token>[^/]++)/(?P<purchase>[^/]++)/(?P<id>\\d+)_subtitle\\.vtt$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_subtitle_by_id')), array ( '_controller' => 'AppBundle\\Controller\\SubtitleController::api_by_idAction',)); } } if (0 === strpos($pathinfo, '/admin/source')) { // app_source_trailer if (0 === strpos($pathinfo, '/admin/source/trailer') && preg_match('#^/admin/source/trailer/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_source_trailer')), array ( '_controller' => 'AppBundle\\Controller\\SourceController::trailerAction',)); } if (0 === strpos($pathinfo, '/admin/source/edit')) { // app_source_edit if (preg_match('#^/admin/source/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_source_edit')), array ( '_controller' => 'AppBundle\\Controller\\SourceController::editAction',)); } // app_source_edit_episode if (0 === strpos($pathinfo, '/admin/source/edit/episode') && preg_match('#^/admin/source/edit/episode/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_source_edit_episode')), array ( '_controller' => 'AppBundle\\Controller\\SourceController::edit_episodeAction',)); } // app_source_edit_channel if (0 === strpos($pathinfo, '/admin/source/edit/channel') && preg_match('#^/admin/source/edit/channel/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_source_edit_channel')), array ( '_controller' => 'AppBundle\\Controller\\SourceController::edit_channelAction',)); } } if (0 === strpos($pathinfo, '/admin/source/add')) { // app_source_add if (preg_match('#^/admin/source/add/(?P<poster>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_source_add')), array ( '_controller' => 'AppBundle\\Controller\\SourceController::addAction',)); } // app_source_add_episode if (0 === strpos($pathinfo, '/admin/source/add/episode') && preg_match('#^/admin/source/add/episode/(?P<episode>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_source_add_episode')), array ( '_controller' => 'AppBundle\\Controller\\SourceController::add_episodeAction',)); } // app_source_add_channel if (0 === strpos($pathinfo, '/admin/source/add/channel') && preg_match('#^/admin/source/add/channel/(?P<channel>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_source_add_channel')), array ( '_controller' => 'AppBundle\\Controller\\SourceController::add_channelAction',)); } } // app_source_delete if (0 === strpos($pathinfo, '/admin/source/delete') && preg_match('#^/admin/source/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_source_delete')), array ( '_controller' => 'AppBundle\\Controller\\SourceController::deleteAction',)); } } if (0 === strpos($pathinfo, '/api/channel/add')) { // api_channel_add_share if (0 === strpos($pathinfo, '/api/channel/add/share') && preg_match('#^/api/channel/add/share/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_channel_add_share'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_channel_add_share')), array ( '_controller' => 'AppBundle\\Controller\\ChannelController::api_add_shareAction',)); } // api_channel_add_view if (0 === strpos($pathinfo, '/api/channel/add/view') && preg_match('#^/api/channel/add/view/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_channel_add_view'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_channel_add_view')), array ( '_controller' => 'AppBundle\\Controller\\ChannelController::api_add_viewAction',)); } } if (0 === strpos($pathinfo, '/admin/role')) { // app_role_edit if (0 === strpos($pathinfo, '/admin/role/edit') && preg_match('#^/admin/role/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_role_edit')), array ( '_controller' => 'AppBundle\\Controller\\RoleController::editAction',)); } // app_role_up if (0 === strpos($pathinfo, '/admin/role/up') && preg_match('#^/admin/role/up/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_role_up')), array ( '_controller' => 'AppBundle\\Controller\\RoleController::upAction',)); } if (0 === strpos($pathinfo, '/admin/role/d')) { // app_role_down if (0 === strpos($pathinfo, '/admin/role/down') && preg_match('#^/admin/role/down/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_role_down')), array ( '_controller' => 'AppBundle\\Controller\\RoleController::downAction',)); } // app_role_delete if (0 === strpos($pathinfo, '/admin/role/delete') && preg_match('#^/admin/role/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_role_delete')), array ( '_controller' => 'AppBundle\\Controller\\RoleController::deleteAction',)); } } } // app_role_by_poster if (0 === strpos($pathinfo, '/api/role/by/poster') && preg_match('#^/api/role/by/poster/(?P<id>\\d+)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'app_role_by_poster'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_role_by_poster')), array ( '_controller' => 'AppBundle\\Controller\\RoleController::api_by_posterAction',)); } if (0 === strpos($pathinfo, '/admin/version')) { // app_version_add if ($pathinfo === '/admin/version/add.html') { return array ( '_controller' => 'AppBundle\\Controller\\VersionController::addAction', '_route' => 'app_version_add',); } // app_version_index if ($pathinfo === '/admin/version/index.html') { return array ( '_controller' => 'AppBundle\\Controller\\VersionController::indexAction', '_route' => 'app_version_index',); } // app_version_edit if (0 === strpos($pathinfo, '/admin/version/edit') && preg_match('#^/admin/version/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_version_edit')), array ( '_controller' => 'AppBundle\\Controller\\VersionController::editAction',)); } // app_version_delete if (0 === strpos($pathinfo, '/admin/version/delete') && preg_match('#^/admin/version/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_version_delete')), array ( '_controller' => 'AppBundle\\Controller\\VersionController::deleteAction',)); } } if (0 === strpos($pathinfo, '/api/v')) { // api_version_check if (0 === strpos($pathinfo, '/api/version/check') && preg_match('#^/api/version/check/(?P<code>\\d+)/(?P<user>\\d+)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_version_check'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_version_check')), array ( '_controller' => 'AppBundle\\Controller\\VersionController::api_checkAction',)); } if (0 === strpos($pathinfo, '/api/video')) { if (0 === strpos($pathinfo, '/api/video/add')) { if (0 === strpos($pathinfo, '/api/video/add/l')) { // api_video_add_like if (0 === strpos($pathinfo, '/api/video/add/like') && preg_match('#^/api/video/add/like/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_video_add_like'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_video_add_like')), array ( '_controller' => 'AppBundle:Status:api_add_like',)); } // api_video_add_love if (0 === strpos($pathinfo, '/api/video/add/love') && preg_match('#^/api/video/add/love/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_video_add_love'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_video_add_love')), array ( '_controller' => 'AppBundle:Status:api_add_love',)); } } // api_video_add_angry if (0 === strpos($pathinfo, '/api/video/add/angry') && preg_match('#^/api/video/add/angry/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_video_add_angry'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_video_add_angry')), array ( '_controller' => 'AppBundle:Status:api_add_angry',)); } // api_video_add_sad if (0 === strpos($pathinfo, '/api/video/add/sad') && preg_match('#^/api/video/add/sad/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_video_add_sad'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_video_add_sad')), array ( '_controller' => 'AppBundle:Status:api_add_sad',)); } // api_video_add_haha if (0 === strpos($pathinfo, '/api/video/add/haha') && preg_match('#^/api/video/add/haha/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_video_add_haha'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_video_add_haha')), array ( '_controller' => 'AppBundle:Status:api_add_haha',)); } // api_video_add_woow if (0 === strpos($pathinfo, '/api/video/add/woow') && preg_match('#^/api/video/add/woow/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_video_add_woow'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_video_add_woow')), array ( '_controller' => 'AppBundle:Status:api_add_woow',)); } } if (0 === strpos($pathinfo, '/api/video/delete')) { if (0 === strpos($pathinfo, '/api/video/delete/l')) { // api_video_delete_like if (0 === strpos($pathinfo, '/api/video/delete/like') && preg_match('#^/api/video/delete/like/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_video_delete_like'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_video_delete_like')), array ( '_controller' => 'AppBundle:Status:api_delete_like',)); } // api_video_delete_love if (0 === strpos($pathinfo, '/api/video/delete/love') && preg_match('#^/api/video/delete/love/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_video_delete_love'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_video_delete_love')), array ( '_controller' => 'AppBundle:Status:api_delete_love',)); } } // api_video_delete_angry if (0 === strpos($pathinfo, '/api/video/delete/angry') && preg_match('#^/api/video/delete/angry/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_video_delete_angry'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_video_delete_angry')), array ( '_controller' => 'AppBundle:Status:api_delete_angry',)); } // api_video_delete_sad if (0 === strpos($pathinfo, '/api/video/delete/sad') && preg_match('#^/api/video/delete/sad/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_video_delete_sad'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_video_delete_sad')), array ( '_controller' => 'AppBundle:Status:api_delete_sad',)); } // api_video_delete_haha if (0 === strpos($pathinfo, '/api/video/delete/haha') && preg_match('#^/api/video/delete/haha/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_video_delete_haha'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_video_delete_haha')), array ( '_controller' => 'AppBundle:Status:api_delete_haha',)); } // api_video_delete_woow if (0 === strpos($pathinfo, '/api/video/delete/woow') && preg_match('#^/api/video/delete/woow/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_video_delete_woow'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_video_delete_woow')), array ( '_controller' => 'AppBundle:Status:api_delete_woow',)); } } } } if (0 === strpos($pathinfo, '/admin/language')) { // app_language_add if ($pathinfo === '/admin/language/add.html') { return array ( '_controller' => 'AppBundle\\Controller\\LanguageController::addAction', '_route' => 'app_language_add',); } // app_language_index if ($pathinfo === '/admin/language/index.html') { return array ( '_controller' => 'AppBundle\\Controller\\LanguageController::indexAction', '_route' => 'app_language_index',); } // app_language_edit if (0 === strpos($pathinfo, '/admin/language/edit') && preg_match('#^/admin/language/edit/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_language_edit')), array ( '_controller' => 'AppBundle\\Controller\\LanguageController::editAction',)); } // app_language_delete if (0 === strpos($pathinfo, '/admin/language/delete') && preg_match('#^/admin/language/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_language_delete')), array ( '_controller' => 'AppBundle\\Controller\\LanguageController::deleteAction',)); } // app_language_up if (0 === strpos($pathinfo, '/admin/language/up') && preg_match('#^/admin/language/up/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_language_up')), array ( '_controller' => 'AppBundle\\Controller\\LanguageController::upAction',)); } // app_language_down if (0 === strpos($pathinfo, '/admin/language/down') && preg_match('#^/admin/language/down/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_language_down')), array ( '_controller' => 'AppBundle\\Controller\\LanguageController::downAction',)); } } // api_language_all if (0 === strpos($pathinfo, '/api/language/all') && preg_match('#^/api/language/all/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_language_all'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_language_all')), array ( '_controller' => 'AppBundle\\Controller\\LanguageController::api_allAction',)); } if (0 === strpos($pathinfo, '/admin/comment')) { // app_comment_delete if (0 === strpos($pathinfo, '/admin/comment/delete') && preg_match('#^/admin/comment/delete/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_comment_delete')), array ( '_controller' => 'AppBundle\\Controller\\CommentController::deleteAction',)); } // app_comment_hide if (0 === strpos($pathinfo, '/admin/comment/hide') && preg_match('#^/admin/comment/hide/(?P<id>\\d+)\\.html$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'app_comment_hide')), array ( '_controller' => 'AppBundle\\Controller\\CommentController::hideAction',)); } // app_comment_index if ($pathinfo === '/admin/comment/index.html') { return array ( '_controller' => 'AppBundle\\Controller\\CommentController::indexAction', '_route' => 'app_comment_index',); } } if (0 === strpos($pathinfo, '/api/comment')) { // api_comment_add if (0 === strpos($pathinfo, '/api/comment/add') && preg_match('#^/api/comment/add/(?P<token>[^/]++)/(?P<purchase>[^/]++)/$#s', $pathinfo, $matches)) { if ($this->context->getMethod() != 'POST') { $allow[] = 'POST'; goto not_api_comment_add; } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_comment_add')), array ( '_controller' => 'AppBundle\\Controller\\CommentController::api_addAction',)); } not_api_comment_add: // api_comment_poster_add if (0 === strpos($pathinfo, '/api/comment/poster/add') && preg_match('#^/api/comment/poster/add/(?P<token>[^/]++)/(?P<purchase>[^/]++)/$#s', $pathinfo, $matches)) { if ($this->context->getMethod() != 'POST') { $allow[] = 'POST'; goto not_api_comment_poster_add; } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_comment_poster_add')), array ( '_controller' => 'AppBundle\\Controller\\CommentController::api_add_posterAction',)); } not_api_comment_poster_add: // api_comment_by_poster if (0 === strpos($pathinfo, '/api/comments/by/poster') && preg_match('#^/api/comments/by/poster/(?P<id>\\d+)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_comment_by_poster'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_comment_by_poster')), array ( '_controller' => 'AppBundle\\Controller\\CommentController::api_by_posterAction',)); } // api_comment_channel_add if (0 === strpos($pathinfo, '/api/comment/channel/add') && preg_match('#^/api/comment/channel/add/(?P<token>[^/]++)/(?P<purchase>[^/]++)/$#s', $pathinfo, $matches)) { if ($this->context->getMethod() != 'POST') { $allow[] = 'POST'; goto not_api_comment_channel_add; } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_comment_channel_add')), array ( '_controller' => 'AppBundle\\Controller\\CommentController::api_add_channelAction',)); } not_api_comment_channel_add: // api_comment_by_channel if (0 === strpos($pathinfo, '/api/comments/by/channel') && preg_match('#^/api/comments/by/channel/(?P<id>\\d+)/(?P<token>[^/]++)/(?P<purchase>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_comment_by_channel'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_comment_by_channel')), array ( '_controller' => 'AppBundle\\Controller\\CommentController::api_by_channelAction',)); } } } if (0 === strpos($pathinfo, '/medias')) { // media_index if (rtrim($pathinfo, '/') === '/medias') { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'media_index'); } return array ( '_controller' => 'MediaBundle\\Controller\\MediaController::indexAction', '_route' => 'media_index',); } // media_add if ($pathinfo === '/medias/add') { return array ( '_controller' => 'MediaBundle\\Controller\\MediaController::addAction', '_route' => 'media_add',); } // media_delete if (0 === strpos($pathinfo, '/medias/delete') && preg_match('#^/medias/delete/(?P<id>[^/]++)$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'media_delete')), array ( '_controller' => 'MediaBundle\\Controller\\MediaController::deleteAction',)); } } if (0 === strpos($pathinfo, '/api/medias')) { // api_media_delete if (0 === strpos($pathinfo, '/api/medias/delete') && preg_match('#^/api/medias/delete/(?P<id>[^/]++)/(?P<token>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'api_media_delete'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'api_media_delete')), array ( '_controller' => 'MediaBundle\\Controller\\MediaController::api_deleteAction',)); } // media_api_upload if (0 === strpos($pathinfo, '/api/medias/upload') && preg_match('#^/api/medias/upload/(?P<token>[^/]++)/?$#s', $pathinfo, $matches)) { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'media_api_upload'); } return $this->mergeDefaults(array_replace($matches, array('_route' => 'media_api_upload')), array ( '_controller' => 'MediaBundle\\Controller\\MediaController::api_uploadAction',)); } } if (0 === strpos($pathinfo, '/media/cache/resolve')) { // liip_imagine_filter_runtime if (preg_match('#^/media/cache/resolve/(?P<filter>[A-z0-9_\\-]*)/rc/(?P<hash>[^/]++)/(?P<path>.+)$#s', $pathinfo, $matches)) { if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'HEAD')); goto not_liip_imagine_filter_runtime; } return $this->mergeDefaults(array_replace($matches, array('_route' => 'liip_imagine_filter_runtime')), array ( '_controller' => 'liip_imagine.controller:filterRuntimeAction',)); } not_liip_imagine_filter_runtime: // liip_imagine_filter if (preg_match('#^/media/cache/resolve/(?P<filter>[A-z0-9_\\-]*)/(?P<path>.+)$#s', $pathinfo, $matches)) { if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'HEAD')); goto not_liip_imagine_filter; } return $this->mergeDefaults(array_replace($matches, array('_route' => 'liip_imagine_filter')), array ( '_controller' => 'liip_imagine.controller:filterAction',)); } not_liip_imagine_filter: } if (0 === strpos($pathinfo, '/log')) { if (0 === strpos($pathinfo, '/login')) { // fos_user_security_login if ($pathinfo === '/login') { if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'POST', 'HEAD')); goto not_fos_user_security_login; } return array ( '_controller' => 'fos_user.security.controller:loginAction', '_route' => 'fos_user_security_login',); } not_fos_user_security_login: // fos_user_security_check if ($pathinfo === '/login_check') { if ($this->context->getMethod() != 'POST') { $allow[] = 'POST'; goto not_fos_user_security_check; } return array ( '_controller' => 'fos_user.security.controller:checkAction', '_route' => 'fos_user_security_check',); } not_fos_user_security_check: } // fos_user_security_logout if ($pathinfo === '/logout') { if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'POST', 'HEAD')); goto not_fos_user_security_logout; } return array ( '_controller' => 'fos_user.security.controller:logoutAction', '_route' => 'fos_user_security_logout',); } not_fos_user_security_logout: } // fos_user_profile_show if (rtrim($pathinfo, '/') === '/profile') { if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'HEAD')); goto not_fos_user_profile_show; } if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'fos_user_profile_show'); } return array ( '_controller' => 'fos_user.profile.controller:showAction', '_route' => 'fos_user_profile_show',); } not_fos_user_profile_show: if (0 === strpos($pathinfo, '/re')) { if (0 === strpos($pathinfo, '/register')) { // fos_user_registration_register if (rtrim($pathinfo, '/') === '/register') { if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'POST', 'HEAD')); goto not_fos_user_registration_register; } if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'fos_user_registration_register'); } return array ( '_controller' => 'fos_user.registration.controller:registerAction', '_route' => 'fos_user_registration_register',); } not_fos_user_registration_register: if (0 === strpos($pathinfo, '/register/c')) { // fos_user_registration_check_email if ($pathinfo === '/register/check-email') { if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'HEAD')); goto not_fos_user_registration_check_email; } return array ( '_controller' => 'fos_user.registration.controller:checkEmailAction', '_route' => 'fos_user_registration_check_email',); } not_fos_user_registration_check_email: if (0 === strpos($pathinfo, '/register/confirm')) { // fos_user_registration_confirm if (preg_match('#^/register/confirm/(?P<token>[^/]++)$#s', $pathinfo, $matches)) { if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'HEAD')); goto not_fos_user_registration_confirm; } return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_registration_confirm')), array ( '_controller' => 'fos_user.registration.controller:confirmAction',)); } not_fos_user_registration_confirm: // fos_user_registration_confirmed if ($pathinfo === '/register/confirmed') { if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'HEAD')); goto not_fos_user_registration_confirmed; } return array ( '_controller' => 'fos_user.registration.controller:confirmedAction', '_route' => 'fos_user_registration_confirmed',); } not_fos_user_registration_confirmed: } } } if (0 === strpos($pathinfo, '/resetting')) { // fos_user_resetting_request if ($pathinfo === '/resetting/request') { if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'HEAD')); goto not_fos_user_resetting_request; } return array ( '_controller' => 'fos_user.resetting.controller:requestAction', '_route' => 'fos_user_resetting_request',); } not_fos_user_resetting_request: // fos_user_resetting_send_email if ($pathinfo === '/resetting/send-email') { if ($this->context->getMethod() != 'POST') { $allow[] = 'POST'; goto not_fos_user_resetting_send_email; } return array ( '_controller' => 'fos_user.resetting.controller:sendEmailAction', '_route' => 'fos_user_resetting_send_email',); } not_fos_user_resetting_send_email: // fos_user_resetting_check_email if ($pathinfo === '/resetting/check-email') { if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'HEAD')); goto not_fos_user_resetting_check_email; } return array ( '_controller' => 'fos_user.resetting.controller:checkEmailAction', '_route' => 'fos_user_resetting_check_email',); } not_fos_user_resetting_check_email: // fos_user_resetting_reset if (0 === strpos($pathinfo, '/resetting/reset') && preg_match('#^/resetting/reset/(?P<token>[^/]++)$#s', $pathinfo, $matches)) { if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'POST', 'HEAD')); goto not_fos_user_resetting_reset; } return $this->mergeDefaults(array_replace($matches, array('_route' => 'fos_user_resetting_reset')), array ( '_controller' => 'fos_user.resetting.controller:resetAction',)); } not_fos_user_resetting_reset: } } // fos_user_change_password if ($pathinfo === '/profile/change-password') { if (!in_array($this->context->getMethod(), array('GET', 'POST', 'HEAD'))) { $allow = array_merge($allow, array('GET', 'POST', 'HEAD')); goto not_fos_user_change_password; } return array ( '_controller' => 'fos_user.change_password.controller:changePasswordAction', '_route' => 'fos_user_change_password',); } not_fos_user_change_password: // root if (rtrim($pathinfo, '/') === '') { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'root'); } return array ( '_controller' => 'Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController::urlRedirectAction', 'path' => '/admin/', 'permanent' => true, '_route' => 'root',); } if (0 === strpos($pathinfo, '/login')) { // hwi_oauth_connect if (rtrim($pathinfo, '/') === '/login') { if (substr($pathinfo, -1) !== '/') { return $this->redirect($pathinfo.'/', 'hwi_oauth_connect'); } return array ( '_controller' => 'HWI\\Bundle\\OAuthBundle\\Controller\\ConnectController::connectAction', '_route' => 'hwi_oauth_connect',); } // hwi_oauth_connect_service if (0 === strpos($pathinfo, '/login/service') && preg_match('#^/login/service/(?P<service>[^/]++)$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'hwi_oauth_connect_service')), array ( '_controller' => 'HWI\\Bundle\\OAuthBundle\\Controller\\ConnectController::connectServiceAction',)); } // hwi_oauth_connect_registration if (0 === strpos($pathinfo, '/login/registration') && preg_match('#^/login/registration/(?P<key>[^/]++)$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'hwi_oauth_connect_registration')), array ( '_controller' => 'HWI\\Bundle\\OAuthBundle\\Controller\\ConnectController::registrationAction',)); } // hwi_oauth_service_redirect if (preg_match('#^/login/(?P<service>[^/]++)$#s', $pathinfo, $matches)) { return $this->mergeDefaults(array_replace($matches, array('_route' => 'hwi_oauth_service_redirect')), array ( '_controller' => 'HWI\\Bundle\\OAuthBundle\\Controller\\ConnectController::redirectToServiceAction',)); } if (0 === strpos($pathinfo, '/login/check-')) { // facebook_login if ($pathinfo === '/login/check-facebook') { return array('_route' => 'facebook_login'); } // google_login if ($pathinfo === '/login/check-google') { return array('_route' => 'google_login'); } } } throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException(); } }