<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class appDevDebugProjectContainerUrlMatcher extends Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher
{
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($rawPathinfo)
{
$allow = [];
$pathinfo = rawurldecode($rawPathinfo);
$trimmedPathinfo = rtrim($pathinfo, '/');
$context = $this->context;
$request = $this->request ?: $this->createRequest($pathinfo);
$requestMethod = $canonicalMethod = $context->getMethod();
if ('HEAD' === $requestMethod) {
$canonicalMethod = 'GET';
}
if (0 === strpos($pathinfo, '/_')) {
// _wdt
if (0 === strpos($pathinfo, '/_wdt') && preg_match('#^/_wdt/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_wdt']), array ( '_controller' => 'web_profiler.controller.profiler:toolbarAction',));
}
if (0 === strpos($pathinfo, '/_profiler')) {
// _profiler_home
if ('/_profiler' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'web_profiler.controller.profiler:homeAction', '_route' => '_profiler_home',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not__profiler_home;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', '_profiler_home'));
}
return $ret;
}
not__profiler_home:
if (0 === strpos($pathinfo, '/_profiler/search')) {
// _profiler_search
if ('/_profiler/search' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:searchAction', '_route' => '_profiler_search',);
}
// _profiler_search_bar
if ('/_profiler/search_bar' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:searchBarAction', '_route' => '_profiler_search_bar',);
}
}
// _profiler_phpinfo
if ('/_profiler/phpinfo' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:phpinfoAction', '_route' => '_profiler_phpinfo',);
}
// _profiler_search_results
if (preg_match('#^/_profiler/(?P<token>[^/]++)/search/results$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_search_results']), array ( '_controller' => 'web_profiler.controller.profiler:searchResultsAction',));
}
// _profiler_open_file
if ('/_profiler/open' === $pathinfo) {
return array ( '_controller' => 'web_profiler.controller.profiler:openAction', '_route' => '_profiler_open_file',);
}
// _profiler
if (preg_match('#^/_profiler/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler']), array ( '_controller' => 'web_profiler.controller.profiler:panelAction',));
}
// _profiler_router
if (preg_match('#^/_profiler/(?P<token>[^/]++)/router$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_router']), array ( '_controller' => 'web_profiler.controller.router:panelAction',));
}
// _profiler_exception
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_profiler_exception']), array ( '_controller' => 'web_profiler.controller.exception:showAction',));
}
// _profiler_exception_css
if (preg_match('#^/_profiler/(?P<token>[^/]++)/exception\\.css$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_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>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => '_twig_error_test']), array ( '_controller' => 'twig.controller.preview_error:previewErrorPageAction', '_format' => 'html',));
}
}
$host = $context->getHost();
if (preg_match('#^(?P<domain>auth.unda.co|auth.hona.mx)$#sDi', $host, $hostMatches)) {
if (0 === strpos($pathinfo, '/authorize')) {
// authorize
if ('/authorize' === $pathinfo) {
return $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'authorize']), array ( '_controller' => 'Hona\\AuthBundle\\Controller\\AuthorizeController::indexAction',));
}
// authorize_accepted
if ('/authorize/accepted' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'authorize_accepted']), array ( '_controller' => 'Hona\\AuthBundle\\Controller\\AuthorizeController::acceptedAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_authorize_accepted;
}
return $ret;
}
not_authorize_accepted:
}
// home
if ('' === $trimmedPathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'home']), array ( '_controller' => 'Hona\\AuthBundle\\Controller\\HomeController::indexAction',));
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_home;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'home'));
}
return $ret;
}
not_home:
// login
if ('/login' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'login']), array ( '_controller' => 'Hona\\AuthBundle\\Controller\\LoginController::indexAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_login;
}
return $ret;
}
not_login:
// logout
if ('/logout' === $pathinfo) {
return $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'logout']), array ( '_controller' => 'Hona\\AuthBundle\\Controller\\LogoutController::indexAction',));
}
// oauth2_token
if ('/oauth2/token' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'oauth2_token']), array ( '_controller' => 'Hona\\AuthBundle\\Controller\\OauthController::tokenAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_oauth2_token;
}
return $ret;
}
not_oauth2_token:
if (0 === strpos($pathinfo, '/oauth2/authorize')) {
// oauth2_authorize
if ('/oauth2/authorize' === $pathinfo) {
return $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'oauth2_authorize']), array ( '_controller' => 'Hona\\AuthBundle\\Controller\\OauthController::authorizeAction',));
}
// oauth2_authorize_accepted
if ('/oauth2/authorize/accepted' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'oauth2_authorize_accepted']), array ( '_controller' => 'Hona\\AuthBundle\\Controller\\OauthController::authorizeAcceptedAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_oauth2_authorize_accepted;
}
return $ret;
}
not_oauth2_authorize_accepted:
}
// sms_request_create_post_uuid
if ('/sms_request/create' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'sms_request_create_post_uuid']), array ( '_controller' => 'Hona\\AuthBundle\\Controller\\SmsRequestController::smsRequestCreatePOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_sms_request_create_post_uuid;
}
return $ret;
}
not_sms_request_create_post_uuid:
// token
if ('/token' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'token']), array ( '_controller' => 'Hona\\AuthBundle\\Controller\\TokenController::indexAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_token;
}
return $ret;
}
not_token:
// user_reset_password_post
if ('/user/reset/password' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'user_reset_password_post']), array ( '_controller' => 'Hona\\AuthBundle\\Controller\\UserController::userResetPasswordPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_user_reset_password_post;
}
return $ret;
}
not_user_reset_password_post:
}
if (preg_match('#^admin\\.unda\\.co$#sDi', $host, $hostMatches)) {
if (0 === strpos($pathinfo, '/access_history')) {
// access_history_list
if (0 === strpos($pathinfo, '/access_history/list') && preg_match('#^/access_history/list(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'access_history_list']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\AdminBundle\\Controller\\AccessHistoryController::accessHistoryListAction',));
}
// access_history_form
if (preg_match('#^/access_history(?:/(?P<uuid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'access_history_form']), array ( 'uuid' => NULL, '_controller' => 'Hona\\AdminBundle\\Controller\\AccessHistoryController::accessHistoryFormAction',));
}
}
elseif (0 === strpos($pathinfo, '/address')) {
// address_list
if (0 === strpos($pathinfo, '/address/list') && preg_match('#^/address/list(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'address_list']), array ( 'size' => 100, 'page' => 0, '_controller' => 'Hona\\AdminBundle\\Controller\\AddressController::addressListAction',));
}
// address_form
if (preg_match('#^/address(?:/(?P<uuid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'address_form']), array ( 'uuid' => NULL, '_controller' => 'Hona\\AdminBundle\\Controller\\AddressController::addressFormAction',));
}
// hona_admin_address_statususeraddress
if ('/address/user/action/status' === $pathinfo) {
return array ( '_controller' => 'Hona\\AdminBundle\\Controller\\AddressController::statusUserAddressAction', '_route' => 'hona_admin_address_statususeraddress',);
}
// hona_admin_address_adduseraddress
if ('/address/user/add' === $pathinfo) {
return array ( '_controller' => 'Hona\\AdminBundle\\Controller\\AddressController::addUserAddressAction', '_route' => 'hona_admin_address_adduseraddress',);
}
}
elseif (0 === strpos($pathinfo, '/control_gate')) {
// control_gate_list
if (0 === strpos($pathinfo, '/control_gate/list') && preg_match('#^/control_gate/list(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'control_gate_list']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\AdminBundle\\Controller\\ControlGateController::controlGateListAction',));
}
// control_gate_form
if (preg_match('#^/control_gate(?:/(?P<uuid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'control_gate_form']), array ( 'uuid' => NULL, '_controller' => 'Hona\\AdminBundle\\Controller\\ControlGateController::controlGateFormAction',));
}
// hona_admin_controlgate_addusercontrolgate
if ('/control_gate/user/add' === $pathinfo) {
return array ( '_controller' => 'Hona\\AdminBundle\\Controller\\ControlGateController::addUserControlGateAction', '_route' => 'hona_admin_controlgate_addusercontrolgate',);
}
// hona_admin_controlgate_statususercontrolgate
if ('/control_gate/user/action/status' === $pathinfo) {
return array ( '_controller' => 'Hona\\AdminBundle\\Controller\\ControlGateController::statusUserControlGateAction', '_route' => 'hona_admin_controlgate_statususercontrolgate',);
}
}
// hona_admin_default_index
if ('' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'Hona\\AdminBundle\\Controller\\DefaultController::indexAction', '_route' => 'hona_admin_default_index',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_hona_admin_default_index;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'hona_admin_default_index'));
}
return $ret;
}
not_hona_admin_default_index:
// hona_admin_login_index
if ('/login' === $pathinfo) {
return array ( '_controller' => 'Hona\\AdminBundle\\Controller\\LoginController::indexAction', '_route' => 'hona_admin_login_index',);
}
// hona_admin_logout_index
if ('/logout' === $pathinfo) {
return array ( '_controller' => 'Hona\\AdminBundle\\Controller\\LogoutController::indexAction', '_route' => 'hona_admin_logout_index',);
}
if (0 === strpos($pathinfo, '/news')) {
// news_list
if (0 === strpos($pathinfo, '/news/list') && preg_match('#^/news/list(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'news_list']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\AdminBundle\\Controller\\NewsController::newsListAction',));
}
// news_form
if (preg_match('#^/news(?:/(?P<uuid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'news_form']), array ( 'uuid' => NULL, '_controller' => 'Hona\\AdminBundle\\Controller\\NewsController::newsFormAction',));
}
}
elseif (0 === strpos($pathinfo, '/residential')) {
// residential_list
if (0 === strpos($pathinfo, '/residential/list') && preg_match('#^/residential/list(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'residential_list']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\AdminBundle\\Controller\\ResidentialController::residentialListAction',));
}
// residential_form
if (preg_match('#^/residential(?:/(?P<uuid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'residential_form']), array ( 'uuid' => NULL, '_controller' => 'Hona\\AdminBundle\\Controller\\ResidentialController::residentialFormAction',));
}
}
// upload_media
if ('/upload/media' === $pathinfo) {
return array ( '_controller' => 'Hona\\AdminBundle\\Controller\\UploadController::userListAction', '_route' => 'upload_media',);
}
if (0 === strpos($pathinfo, '/user')) {
// user_list
if (0 === strpos($pathinfo, '/user/list') && preg_match('#^/user/list(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'user_list']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\AdminBundle\\Controller\\UserController::userListAction',));
}
// user_form
if (preg_match('#^/user(?:/(?P<uuid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'user_form']), array ( 'uuid' => NULL, '_controller' => 'Hona\\AdminBundle\\Controller\\UserController::userFormAction',));
}
// hona_admin_user_sendconfirmationemail
if ('/user/send/confirmation' === $pathinfo) {
return array ( '_controller' => 'Hona\\AdminBundle\\Controller\\UserController::sendConfirmationEmailAction', '_route' => 'hona_admin_user_sendconfirmationemail',);
}
}
elseif (0 === strpos($pathinfo, '/guard')) {
// guard_list
if (0 === strpos($pathinfo, '/guard/list') && preg_match('#^/guard/list(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'guard_list']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\AdminBundle\\Controller\\UserController::guardListAction',));
}
// guard_form
if (preg_match('#^/guard(?:/(?P<uuid>[^/]++))?$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'guard_form']), array ( 'uuid' => NULL, '_controller' => 'Hona\\AdminBundle\\Controller\\UserController::guardFormAction',));
}
}
}
if (preg_match('#^(?P<domain>api.unda.co|api.hona.mx)$#sDi', $host, $hostMatches)) {
if (0 === strpos($pathinfo, '/access_history')) {
// access_history_get_uuid
if (preg_match('#^/access_history/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'access_history_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\AccessHistoryController::accessHistoryGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_access_history_get_uuid;
}
return $ret;
}
not_access_history_get_uuid:
// access_history_post_uuid
if ('/access_history' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'access_history_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\AccessHistoryController::accessHistoryPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_access_history_post_uuid;
}
return $ret;
}
not_access_history_post_uuid:
// access_history_put_uuid
if (preg_match('#^/access_history/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'access_history_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\AccessHistoryController::accessHistoryPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_access_history_put_uuid;
}
return $ret;
}
not_access_history_put_uuid:
// access_history_delete_uuid
if (preg_match('#^/access_history/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'access_history_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\AccessHistoryController::accessHistoryDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_access_history_delete_uuid;
}
return $ret;
}
not_access_history_delete_uuid:
}
elseif (0 === strpos($pathinfo, '/address')) {
// address_get_uuid_news
if (preg_match('#^/address/(?P<uuid>[^/]++)/news(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'address_get_uuid_news']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\AddressController::addressNewsGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_address_get_uuid_news;
}
return $ret;
}
not_address_get_uuid_news:
// address_get_uuid_user_uuid_history
if (preg_match('#^/address/(?P<uuid>[^/]++)/user/(?P<user_uuid>[^/]++)/history(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'address_get_uuid_user_uuid_history']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\AddressController::addressUserHistoryGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_address_get_uuid_user_uuid_history;
}
return $ret;
}
not_address_get_uuid_user_uuid_history:
// address_get_uuid_user_uuid_invitation
if (preg_match('#^/address/(?P<uuid>[^/]++)/user/(?P<user_uuid>[^/]++)/invitation(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'address_get_uuid_user_uuid_invitation']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\AddressController::addressUserInvitationGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_address_get_uuid_user_uuid_invitation;
}
return $ret;
}
not_address_get_uuid_user_uuid_invitation:
// address_get_uuid_user_uuid_event_history
if (preg_match('#^/address/(?P<uuid>[^/]++)/user/(?P<user_uuid>[^/]++)/event/history(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'address_get_uuid_user_uuid_event_history']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\AddressController::addressUserEventHistoryGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_address_get_uuid_user_uuid_event_history;
}
return $ret;
}
not_address_get_uuid_user_uuid_event_history:
// address_get_uuid_user_uuid_event
if (preg_match('#^/address/(?P<uuid>[^/]++)/user/(?P<user_uuid>[^/]++)/event(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'address_get_uuid_user_uuid_event']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\AddressController::addressUserEventGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_address_get_uuid_user_uuid_event;
}
return $ret;
}
not_address_get_uuid_user_uuid_event:
// address_get_uuid_user
if (preg_match('#^/address/(?P<uuid>[^/]++)/user(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'address_get_uuid_user']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\AddressController::addressUserGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_address_get_uuid_user;
}
return $ret;
}
not_address_get_uuid_user:
// address_get_uuid_history
if (preg_match('#^/address/(?P<uuid>[^/]++)/history(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'address_get_uuid_history']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\AddressController::addressHistoryGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_address_get_uuid_history;
}
return $ret;
}
not_address_get_uuid_history:
// address_get_uuid_invitation
if (preg_match('#^/address/(?P<uuid>[^/]++)/invitation(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'address_get_uuid_invitation']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\AddressController::addressInvitationGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_address_get_uuid_invitation;
}
return $ret;
}
not_address_get_uuid_invitation:
// address_get_uuid_historic_event
if (preg_match('#^/address/(?P<uuid>[^/]++)/event/history(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'address_get_uuid_historic_event']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\AddressController::addressEventHistoryGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_address_get_uuid_historic_event;
}
return $ret;
}
not_address_get_uuid_historic_event:
// address_get_uuid_event
if (preg_match('#^/address/(?P<uuid>[^/]++)/event(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'address_get_uuid_event']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\AddressController::addressEventGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_address_get_uuid_event;
}
return $ret;
}
not_address_get_uuid_event:
// address_get_uuid
if (preg_match('#^/address/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'address_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\AddressController::addressGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_address_get_uuid;
}
return $ret;
}
not_address_get_uuid:
// address_post_uuid
if ('/address' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'address_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\AddressController::addressPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_address_post_uuid;
}
return $ret;
}
not_address_post_uuid:
// address_put_uuid
if (preg_match('#^/address/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'address_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\AddressController::addressPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_address_put_uuid;
}
return $ret;
}
not_address_put_uuid:
// address_delete_uuid
if (preg_match('#^/address/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'address_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\AddressController::addressDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_address_delete_uuid;
}
return $ret;
}
not_address_delete_uuid:
}
elseif (0 === strpos($pathinfo, '/control_gate')) {
// control_gate_get_uuid_providers
if (preg_match('#^/control_gate/(?P<uuid>[^/]++)/providers$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'control_gate_get_uuid_providers']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\ControlGateController::controlGateProvidersGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_control_gate_get_uuid_providers;
}
return $ret;
}
not_control_gate_get_uuid_providers:
// control_gate_get_uuid_tree
if (preg_match('#^/control_gate/(?P<uuid>[^/]++)/tree$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'control_gate_get_uuid_tree']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\ControlGateController::controlGateTreeGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_control_gate_get_uuid_tree;
}
return $ret;
}
not_control_gate_get_uuid_tree:
// control_gate_get_uuid_news
if (preg_match('#^/control_gate/(?P<uuid>[^/]++)/news(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'control_gate_get_uuid_news']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\ControlGateController::controlGateNewsGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_control_gate_get_uuid_news;
}
return $ret;
}
not_control_gate_get_uuid_news:
// control_gate_get_uuid_need_exit
if (preg_match('#^/control_gate/(?P<uuid>[^/]++)/need/exit(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'control_gate_get_uuid_need_exit']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\ControlGateController::controlGateNeedExitGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_control_gate_get_uuid_need_exit;
}
return $ret;
}
not_control_gate_get_uuid_need_exit:
// control_gate_registry_access
if ('/control_gate/registry/access' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'control_gate_registry_access']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\ControlGateController::controlGateRegistyAccessAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_control_gate_registry_access;
}
return $ret;
}
not_control_gate_registry_access:
// control_gate_registry_exit
if ('/control_gate/registry/exit' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'control_gate_registry_exit']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\ControlGateController::controlGateRegistyExitAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_control_gate_registry_exit;
}
return $ret;
}
not_control_gate_registry_exit:
// control_gate_get_uuid
if (preg_match('#^/control_gate/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'control_gate_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\ControlGateController::controlGateGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_control_gate_get_uuid;
}
return $ret;
}
not_control_gate_get_uuid:
// control_gate_post_uuid
if ('/control_gate' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'control_gate_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\ControlGateController::controlGatePOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_control_gate_post_uuid;
}
return $ret;
}
not_control_gate_post_uuid:
// control_gate_put_uuid
if (preg_match('#^/control_gate/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'control_gate_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\ControlGateController::controlGatePUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_control_gate_put_uuid;
}
return $ret;
}
not_control_gate_put_uuid:
// control_gate_delete_uuid
if (preg_match('#^/control_gate/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'control_gate_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\ControlGateController::controlGateDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_control_gate_delete_uuid;
}
return $ret;
}
not_control_gate_delete_uuid:
}
elseif (0 === strpos($pathinfo, '/device')) {
// device_get_uuid
if (preg_match('#^/device/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'device_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\DeviceController::deviceGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_device_get_uuid;
}
return $ret;
}
not_device_get_uuid:
// device_post_uuid
if ('/device' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'device_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\DeviceController::devicePOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_device_post_uuid;
}
return $ret;
}
not_device_post_uuid:
// device_put_uuid
if (preg_match('#^/device/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'device_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\DeviceController::devicePUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_device_put_uuid;
}
return $ret;
}
not_device_put_uuid:
// device_delete_uuid
if (preg_match('#^/device/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'device_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\DeviceController::deviceDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_device_delete_uuid;
}
return $ret;
}
not_device_delete_uuid:
if (0 === strpos($pathinfo, '/device/notification/publish')) {
// device_uuid_publish2
if ('/device/notification/publish2' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'device_uuid_publish2']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\DeviceController::devicePublish2Action',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_device_uuid_publish2;
}
return $ret;
}
not_device_uuid_publish2:
// device_uuid_user_publish
if (preg_match('#^/device/notification/publish/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'device_uuid_user_publish']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\DeviceController::devicePublishUserAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_device_uuid_user_publish;
}
return $ret;
}
not_device_uuid_user_publish:
// device_uuid_publish
if ('/device/notification/publish' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'device_uuid_publish']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\DeviceController::devicePublishAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_device_uuid_publish;
}
return $ret;
}
not_device_uuid_publish:
}
// device_has_topic_get_uuid
if (preg_match('#^/device/(?P<device_uuid>[^/]++)/topic/(?P<topic_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'device_has_topic_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\DeviceHasTopicController::deviceHasTopicGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_device_has_topic_get_uuid;
}
return $ret;
}
not_device_has_topic_get_uuid:
// device_has_topic_post_uuid
if (preg_match('#^/device/(?P<device_uuid>[^/]++)/topic/(?P<topic_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'device_has_topic_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\DeviceHasTopicController::deviceHasTopicPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_device_has_topic_post_uuid;
}
return $ret;
}
not_device_has_topic_post_uuid:
// device_has_topic_put_uuid
if (preg_match('#^/device/(?P<device_uuid>[^/]++)/topic/(?P<topic_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'device_has_topic_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\DeviceHasTopicController::deviceHasTopicPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_device_has_topic_put_uuid;
}
return $ret;
}
not_device_has_topic_put_uuid:
// device_has_topic_delete_uuid
if (preg_match('#^/device/(?P<device_uuid>[^/]++)/topic/(?P<topic_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'device_has_topic_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\DeviceHasTopicController::deviceHasTopicDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_device_has_topic_delete_uuid;
}
return $ret;
}
not_device_has_topic_delete_uuid:
}
elseif (0 === strpos($pathinfo, '/event')) {
// event_get_uuid_invitation_request
if (preg_match('#^/event/(?P<uuid>[^/]++)/invitation_request(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'event_get_uuid_invitation_request']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\EventController::eventInvitationRequestGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_event_get_uuid_invitation_request;
}
return $ret;
}
not_event_get_uuid_invitation_request:
// event_get_uuid_invitation
if (preg_match('#^/event/(?P<uuid>[^/]++)/invitation(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'event_get_uuid_invitation']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\EventController::eventInvitationGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_event_get_uuid_invitation;
}
return $ret;
}
not_event_get_uuid_invitation:
// event_create
if ('/event/create' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'event_create']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\EventController::eventCreateAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_event_create;
}
return $ret;
}
not_event_create:
// event_get_uuid
if (preg_match('#^/event/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'event_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\EventController::eventGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_event_get_uuid;
}
return $ret;
}
not_event_get_uuid:
// event_post_uuid
if ('/event' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'event_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\EventController::eventPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_event_post_uuid;
}
return $ret;
}
not_event_post_uuid:
// event_put_uuid
if (preg_match('#^/event/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'event_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\EventController::eventPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_event_put_uuid;
}
return $ret;
}
not_event_put_uuid:
// event_delete_uuid
if (preg_match('#^/event/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'event_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\EventController::eventDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_event_delete_uuid;
}
return $ret;
}
not_event_delete_uuid:
}
elseif (0 === strpos($pathinfo, '/interval')) {
// interval_get_uuid
if (preg_match('#^/interval/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'interval_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\IntervalController::intervalGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_interval_get_uuid;
}
return $ret;
}
not_interval_get_uuid:
// interval_post_uuid
if ('/interval' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'interval_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\IntervalController::intervalPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_interval_post_uuid;
}
return $ret;
}
not_interval_post_uuid:
// interval_put_uuid
if (preg_match('#^/interval/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'interval_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\IntervalController::intervalPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_interval_put_uuid;
}
return $ret;
}
not_interval_put_uuid:
// interval_delete_uuid
if (preg_match('#^/interval/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'interval_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\IntervalController::intervalDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_interval_delete_uuid;
}
return $ret;
}
not_interval_delete_uuid:
}
elseif (0 === strpos($pathinfo, '/invitation')) {
// invitation_from_invitation_request_uuid
if (0 === strpos($pathinfo, '/invitation/from/invitation_request') && preg_match('#^/invitation/from/invitation_request/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'invitation_from_invitation_request_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\InvitationController::invitationFromInvitationRequestAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_invitation_from_invitation_request_uuid;
}
return $ret;
}
not_invitation_from_invitation_request_uuid:
if (0 === strpos($pathinfo, '/invitation/c')) {
// invitation_create
if ('/invitation/create' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'invitation_create']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\InvitationController::invitationCreateAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_invitation_create;
}
return $ret;
}
not_invitation_create:
// invitation_check
if ('/invitation/check' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'invitation_check']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\InvitationController::invitationCheckAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_invitation_check;
}
return $ret;
}
not_invitation_check:
// invitation_cancel
if ('/invitation/cancel' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'invitation_cancel']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\InvitationController::invitationCancelAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_invitation_cancel;
}
return $ret;
}
not_invitation_cancel:
}
// invitation_registry_access
if ('/invitation/registry/access' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'invitation_registry_access']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\InvitationController::invitationRegistyAccessAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_invitation_registry_access;
}
return $ret;
}
not_invitation_registry_access:
// invitation_registry_exit
if ('/invitation/registry/exit' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'invitation_registry_exit']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\InvitationController::invitationRegistyExitAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_invitation_registry_exit;
}
return $ret;
}
not_invitation_registry_exit:
// invitation_get_uuid
if (preg_match('#^/invitation/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'invitation_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\InvitationController::invitationGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_invitation_get_uuid;
}
return $ret;
}
not_invitation_get_uuid:
// invitation_post_uuid
if ('/invitation' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'invitation_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\InvitationController::invitationPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_invitation_post_uuid;
}
return $ret;
}
not_invitation_post_uuid:
// invitation_put_uuid
if (preg_match('#^/invitation/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'invitation_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\InvitationController::invitationPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_invitation_put_uuid;
}
return $ret;
}
not_invitation_put_uuid:
// invitation_delete_uuid
if (preg_match('#^/invitation/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'invitation_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\InvitationController::invitationDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_invitation_delete_uuid;
}
return $ret;
}
not_invitation_delete_uuid:
if (0 === strpos($pathinfo, '/invitation_request')) {
// invitation_request_accept_uuid
if (preg_match('#^/invitation_request/(?P<uuid>[^/]++)/accept$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'invitation_request_accept_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\InvitationRequestController::invitationRequestAcceptAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_invitation_request_accept_uuid;
}
return $ret;
}
not_invitation_request_accept_uuid:
// invitation_request_get_uuid
if (preg_match('#^/invitation_request/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'invitation_request_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\InvitationRequestController::invitationRequestGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_invitation_request_get_uuid;
}
return $ret;
}
not_invitation_request_get_uuid:
// invitation_request_post_uuid
if ('/invitation_request' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'invitation_request_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\InvitationRequestController::invitationRequestPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_invitation_request_post_uuid;
}
return $ret;
}
not_invitation_request_post_uuid:
// invitation_request_put_uuid
if (preg_match('#^/invitation_request/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'invitation_request_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\InvitationRequestController::invitationRequestPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_invitation_request_put_uuid;
}
return $ret;
}
not_invitation_request_put_uuid:
// invitation_request_delete_uuid
if (preg_match('#^/invitation_request/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'invitation_request_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\InvitationRequestController::invitationRequestDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_invitation_request_delete_uuid;
}
return $ret;
}
not_invitation_request_delete_uuid:
}
}
elseif (0 === strpos($pathinfo, '/me')) {
// me_get
if ('/me' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'me_get']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\MeController::meGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_me_get;
}
return $ret;
}
not_me_get:
// me_put
if ('/me' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'me_put']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\MeController::mePUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_me_put;
}
return $ret;
}
not_me_put:
// me_delete
if ('/me' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'me_delete']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\MeController::meDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_me_delete;
}
return $ret;
}
not_me_delete:
if (0 === strpos($pathinfo, '/media')) {
// media_get_uuid
if (preg_match('#^/media/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'media_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\MediaController::mediaGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_media_get_uuid;
}
return $ret;
}
not_media_get_uuid:
// media_post_uuid
if ('/media' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'media_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\MediaController::mediaPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_media_post_uuid;
}
return $ret;
}
not_media_post_uuid:
// media_put_uuid
if (preg_match('#^/media/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'media_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\MediaController::mediaPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_media_put_uuid;
}
return $ret;
}
not_media_put_uuid:
// media_delete_uuid
if (preg_match('#^/media/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'media_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\MediaController::mediaDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_media_delete_uuid;
}
return $ret;
}
not_media_delete_uuid:
}
}
elseif (0 === strpos($pathinfo, '/news')) {
// news_get_uuid
if (preg_match('#^/news/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'news_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NewsController::newsGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_news_get_uuid;
}
return $ret;
}
not_news_get_uuid:
// news_post_uuid
if ('/news' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'news_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NewsController::newsPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_news_post_uuid;
}
return $ret;
}
not_news_post_uuid:
// news_put_uuid
if (preg_match('#^/news/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'news_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NewsController::newsPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_news_put_uuid;
}
return $ret;
}
not_news_put_uuid:
// news_delete_uuid
if (preg_match('#^/news/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'news_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NewsController::newsDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_news_delete_uuid;
}
return $ret;
}
not_news_delete_uuid:
// news_has_media_get_uuid
if (preg_match('#^/news/(?P<news_uuid>[^/]++)/media/(?P<media_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'news_has_media_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NewsHasMediaController::newsHasMediaGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_news_has_media_get_uuid;
}
return $ret;
}
not_news_has_media_get_uuid:
// news_has_media_post_uuid
if (preg_match('#^/news/(?P<news_uuid>[^/]++)/media/(?P<media_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'news_has_media_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NewsHasMediaController::newsHasMediaPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_news_has_media_post_uuid;
}
return $ret;
}
not_news_has_media_post_uuid:
// news_has_media_put_uuid
if (preg_match('#^/news/(?P<news_uuid>[^/]++)/media/(?P<media_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'news_has_media_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NewsHasMediaController::newsHasMediaPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_news_has_media_put_uuid;
}
return $ret;
}
not_news_has_media_put_uuid:
// news_has_media_delete_uuid
if (preg_match('#^/news/(?P<news_uuid>[^/]++)/media/(?P<media_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'news_has_media_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NewsHasMediaController::newsHasMediaDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_news_has_media_delete_uuid;
}
return $ret;
}
not_news_has_media_delete_uuid:
}
elseif (0 === strpos($pathinfo, '/notification')) {
// notifications_get_uuid_user
if (0 === strpos($pathinfo, '/notification/user') && preg_match('#^/notification/user(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'notifications_get_uuid_user']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\NotificationController::notificationsUserGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_notifications_get_uuid_user;
}
return $ret;
}
not_notifications_get_uuid_user:
// notification_send_post_uuid
if ('/notification/send' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'notification_send_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NotificationController::notificationSendPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_notification_send_post_uuid;
}
return $ret;
}
not_notification_send_post_uuid:
// notification_get_uuid
if (preg_match('#^/notification/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'notification_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NotificationController::notificationGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_notification_get_uuid;
}
return $ret;
}
not_notification_get_uuid:
// notification_post_uuid
if ('/notification' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'notification_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NotificationController::notificationPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_notification_post_uuid;
}
return $ret;
}
not_notification_post_uuid:
// notification_put_uuid
if (preg_match('#^/notification/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'notification_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NotificationController::notificationPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_notification_put_uuid;
}
return $ret;
}
not_notification_put_uuid:
// notification_delete_uuid
if (preg_match('#^/notification/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'notification_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NotificationController::notificationDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_notification_delete_uuid;
}
return $ret;
}
not_notification_delete_uuid:
if (0 === strpos($pathinfo, '/notification_setting')) {
if (0 === strpos($pathinfo, '/notification_setting/user')) {
// notification_setting_user_get_uuid
if ('/notification_setting/user' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'notification_setting_user_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NotificationSettingController::notificationSettingUserGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_notification_setting_user_get_uuid;
}
return $ret;
}
not_notification_setting_user_get_uuid:
// notification_setting_user_put_uuid
if ('/notification_setting/user' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'notification_setting_user_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NotificationSettingController::notificationSettingUserPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_notification_setting_user_put_uuid;
}
return $ret;
}
not_notification_setting_user_put_uuid:
if (0 === strpos($pathinfo, '/notification_setting/user/guard')) {
// notification_setting_user_guard_get_uuid
if ('/notification_setting/user/guard' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'notification_setting_user_guard_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NotificationSettingController::notificationSettingUserGuardGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_notification_setting_user_guard_get_uuid;
}
return $ret;
}
not_notification_setting_user_guard_get_uuid:
// notification_setting_user_guard_put_uuid
if ('/notification_setting/user/guard' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'notification_setting_user_guard_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NotificationSettingController::notificationSettingUserGuardPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_notification_setting_user_guard_put_uuid;
}
return $ret;
}
not_notification_setting_user_guard_put_uuid:
}
}
// notification_setting_get_uuid
if (preg_match('#^/notification_setting/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'notification_setting_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NotificationSettingController::notificationSettingGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_notification_setting_get_uuid;
}
return $ret;
}
not_notification_setting_get_uuid:
// notification_setting_post_uuid
if ('/notification_setting' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'notification_setting_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NotificationSettingController::notificationSettingPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_notification_setting_post_uuid;
}
return $ret;
}
not_notification_setting_post_uuid:
// notification_setting_put_uuid
if (preg_match('#^/notification_setting/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'notification_setting_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NotificationSettingController::notificationSettingPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_notification_setting_put_uuid;
}
return $ret;
}
not_notification_setting_put_uuid:
// notification_setting_delete_uuid
if (preg_match('#^/notification_setting/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'notification_setting_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\NotificationSettingController::notificationSettingDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_notification_setting_delete_uuid;
}
return $ret;
}
not_notification_setting_delete_uuid:
}
}
elseif (0 === strpos($pathinfo, '/residential')) {
// residential_get_uuid_providers
if (preg_match('#^/residential/(?P<uuid>[^/]++)/providers$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'residential_get_uuid_providers']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\ResidentialController::residentialProvidersGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_residential_get_uuid_providers;
}
return $ret;
}
not_residential_get_uuid_providers:
// residential_get_uuid_tree
if (preg_match('#^/residential/(?P<uuid>[^/]++)/tree$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'residential_get_uuid_tree']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\ResidentialController::residentialTreeGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_residential_get_uuid_tree;
}
return $ret;
}
not_residential_get_uuid_tree:
// residential_get_uuid_news
if (preg_match('#^/residential/(?P<uuid>[^/]++)/news(?:/(?P<type>[^/]++)(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'residential_get_uuid_news']), array ( 'type' => 0, 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\ResidentialController::residentialNewsGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_residential_get_uuid_news;
}
return $ret;
}
not_residential_get_uuid_news:
// residential_get_uuid_need_exit
if (preg_match('#^/residential/(?P<uuid>[^/]++)/need/exit(?:/(?P<size>[^/]++)(?:/(?P<page>[^/]++))?)?$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'residential_get_uuid_need_exit']), array ( 'size' => 10, 'page' => 0, '_controller' => 'Hona\\ApiBundle\\Controller\\ResidentialController::residentialNeedExitGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_residential_get_uuid_need_exit;
}
return $ret;
}
not_residential_get_uuid_need_exit:
// residential_get_uuid
if (preg_match('#^/residential/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'residential_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\ResidentialController::residentialGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_residential_get_uuid;
}
return $ret;
}
not_residential_get_uuid:
// residential_post_uuid
if ('/residential' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'residential_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\ResidentialController::residentialPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_residential_post_uuid;
}
return $ret;
}
not_residential_post_uuid:
// residential_put_uuid
if (preg_match('#^/residential/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'residential_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\ResidentialController::residentialPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_residential_put_uuid;
}
return $ret;
}
not_residential_put_uuid:
// residential_delete_uuid
if (preg_match('#^/residential/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'residential_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\ResidentialController::residentialDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_residential_delete_uuid;
}
return $ret;
}
not_residential_delete_uuid:
}
elseif (0 === strpos($pathinfo, '/topic')) {
// topic_get_uuid
if (preg_match('#^/topic/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'topic_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\TopicController::topicGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_topic_get_uuid;
}
return $ret;
}
not_topic_get_uuid:
// topic_post_uuid
if ('/topic' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'topic_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\TopicController::topicPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_topic_post_uuid;
}
return $ret;
}
not_topic_post_uuid:
// topic_put_uuid
if (preg_match('#^/topic/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'topic_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\TopicController::topicPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_topic_put_uuid;
}
return $ret;
}
not_topic_put_uuid:
// topic_delete_uuid
if (preg_match('#^/topic/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'topic_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\TopicController::topicDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_topic_delete_uuid;
}
return $ret;
}
not_topic_delete_uuid:
}
elseif (0 === strpos($pathinfo, '/user')) {
// user_get_uuid
if (preg_match('#^/user/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserController::userGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_user_get_uuid;
}
return $ret;
}
not_user_get_uuid:
// user_post_uuid
if ('/user' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'user_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserController::userPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_user_post_uuid;
}
return $ret;
}
not_user_post_uuid:
if (0 === strpos($pathinfo, '/user/family/member')) {
// family_post_uuid
if ('/user/family/member/create' === $pathinfo) {
$ret = $this->mergeDefaults(array_replace($hostMatches, ['_route' => 'family_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserController::userFamiliyPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_family_post_uuid;
}
return $ret;
}
not_family_post_uuid:
// family_put_uuid
if (preg_match('#^/user/family/member/(?P<uuid>[^/]++)/address/(?P<addressUuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'family_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserController::userFamiliyPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_family_put_uuid;
}
return $ret;
}
not_family_put_uuid:
}
// user_put_uuid
if (preg_match('#^/user/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserController::userPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_user_put_uuid;
}
return $ret;
}
not_user_put_uuid:
// user_delete_uuid
if (preg_match('#^/user/(?P<uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserController::userDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_user_delete_uuid;
}
return $ret;
}
not_user_delete_uuid:
// user_has_address_get_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/address/(?P<address_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_address_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasAddressController::userHasAddressGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_user_has_address_get_uuid;
}
return $ret;
}
not_user_has_address_get_uuid:
// user_has_address_post_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/address/(?P<address_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_address_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasAddressController::userHasAddressPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_user_has_address_post_uuid;
}
return $ret;
}
not_user_has_address_post_uuid:
// user_has_address_put_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/address/(?P<address_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_address_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasAddressController::userHasAddressPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_user_has_address_put_uuid;
}
return $ret;
}
not_user_has_address_put_uuid:
// user_has_address_delete_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/address/(?P<address_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_address_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasAddressController::userHasAddressDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_user_has_address_delete_uuid;
}
return $ret;
}
not_user_has_address_delete_uuid:
// user_has_control_gate_get_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/control_gate/(?P<control_gate_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_control_gate_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasControlGateController::userHasControlGateGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_user_has_control_gate_get_uuid;
}
return $ret;
}
not_user_has_control_gate_get_uuid:
// user_has_control_gate_post_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/control_gate/(?P<control_gate_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_control_gate_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasControlGateController::userHasControlGatePOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_user_has_control_gate_post_uuid;
}
return $ret;
}
not_user_has_control_gate_post_uuid:
// user_has_control_gate_put_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/control_gate/(?P<control_gate_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_control_gate_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasControlGateController::userHasControlGatePUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_user_has_control_gate_put_uuid;
}
return $ret;
}
not_user_has_control_gate_put_uuid:
// user_has_control_gate_delete_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/control_gate/(?P<control_gate_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_control_gate_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasControlGateController::userHasControlGateDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_user_has_control_gate_delete_uuid;
}
return $ret;
}
not_user_has_control_gate_delete_uuid:
// user_has_notification_get_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/notification/(?P<notification_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_notification_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasNotificationController::userHasNotificationGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_user_has_notification_get_uuid;
}
return $ret;
}
not_user_has_notification_get_uuid:
// user_has_notification_post_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/notification/(?P<notification_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_notification_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasNotificationController::userHasNotificationPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_user_has_notification_post_uuid;
}
return $ret;
}
not_user_has_notification_post_uuid:
// user_has_notification_put_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/notification/(?P<notification_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_notification_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasNotificationController::userHasNotificationPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_user_has_notification_put_uuid;
}
return $ret;
}
not_user_has_notification_put_uuid:
// user_has_notification_delete_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/notification/(?P<notification_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_notification_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasNotificationController::userHasNotificationDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_user_has_notification_delete_uuid;
}
return $ret;
}
not_user_has_notification_delete_uuid:
// user_has_residential_get_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/residential/(?P<residential_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_residential_get_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasResidentialController::userHasResidentialGETAction',));
if (!in_array($canonicalMethod, ['GET'])) {
$allow = array_merge($allow, ['GET']);
goto not_user_has_residential_get_uuid;
}
return $ret;
}
not_user_has_residential_get_uuid:
// user_has_residential_post_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/residential/(?P<residential_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_residential_post_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasResidentialController::userHasResidentialPOSTAction',));
if (!in_array($requestMethod, ['POST'])) {
$allow = array_merge($allow, ['POST']);
goto not_user_has_residential_post_uuid;
}
return $ret;
}
not_user_has_residential_post_uuid:
// user_has_residential_put_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/residential/(?P<residential_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_residential_put_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasResidentialController::userHasResidentialPUTAction',));
if (!in_array($requestMethod, ['PUT'])) {
$allow = array_merge($allow, ['PUT']);
goto not_user_has_residential_put_uuid;
}
return $ret;
}
not_user_has_residential_put_uuid:
// user_has_residential_delete_uuid
if (preg_match('#^/user/(?P<user_uuid>[^/]++)/residential/(?P<residential_uuid>[^/]++)$#sD', $pathinfo, $matches)) {
$ret = $this->mergeDefaults(array_replace($hostMatches, $matches, ['_route' => 'user_has_residential_delete_uuid']), array ( '_controller' => 'Hona\\ApiBundle\\Controller\\UserHasResidentialController::userHasResidentialDELETEAction',));
if (!in_array($requestMethod, ['DELETE'])) {
$allow = array_merge($allow, ['DELETE']);
goto not_user_has_residential_delete_uuid;
}
return $ret;
}
not_user_has_residential_delete_uuid:
}
}
if (preg_match('#^web\\.unda\\.co$#sDi', $host, $hostMatches)) {
// index_web
if ('' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'Hona\\WebBundle\\Controller\\DefaultController::indexAction', '_route' => 'index_web',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_index_web;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'index_web'));
}
return $ret;
}
not_index_web:
if (0 === strpos($pathinfo, '/event')) {
// event_register
if (preg_match('#^/event/(?P<uuid>[^/]++)/register$#sD', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, ['_route' => 'event_register']), array ( '_controller' => 'Hona\\WebBundle\\Controller\\EventController::eventRegisterAction',));
}
// event_register_success
if ('/event/register/success' === $pathinfo) {
return array ( '_controller' => 'Hona\\WebBundle\\Controller\\EventController::eventRegisterSuccessAction', '_route' => 'event_register_success',);
}
}
elseif (0 === strpos($pathinfo, '/user')) {
// user_confirm
if ('/user/confirm' === $pathinfo) {
return array ( '_controller' => 'Hona\\WebBundle\\Controller\\UserController::userConfirmAction', '_route' => 'user_confirm',);
}
if (0 === strpos($pathinfo, '/user/reset')) {
// user_reset
if ('/user/reset' === $pathinfo) {
return array ( '_controller' => 'Hona\\WebBundle\\Controller\\UserController::userResetPasswordAction', '_route' => 'user_reset',);
}
// user_reset_success
if ('/user/reset/success' === $pathinfo) {
return array ( '_controller' => 'Hona\\WebBundle\\Controller\\UserController::userResetSuccessAction', '_route' => 'user_reset_success',);
}
// user_reset_invalid_token
if ('/user/reset/invalid' === $pathinfo) {
return array ( '_controller' => 'Hona\\WebBundle\\Controller\\UserController::userResetInvalidTokenAction', '_route' => 'user_reset_invalid_token',);
}
}
elseif (0 === strpos($pathinfo, '/user/success')) {
// user_success
if ('/user/success' === $pathinfo) {
return array ( '_controller' => 'Hona\\WebBundle\\Controller\\UserController::userCreatedSuccessAction', '_route' => 'user_success',);
}
// user_success_app
if ('/user/success/app' === $pathinfo) {
return array ( '_controller' => 'Hona\\WebBundle\\Controller\\UserController::userCreatedSuccessAppAction', '_route' => 'user_success_app',);
}
}
// user_email_success
if ('/user/email/success' === $pathinfo) {
return array ( '_controller' => 'Hona\\WebBundle\\Controller\\UserController::userEmailSuccessAction', '_route' => 'user_email_success',);
}
// user_invalid_token
if ('/user/invalid' === $pathinfo) {
return array ( '_controller' => 'Hona\\WebBundle\\Controller\\UserController::userInvalidTokenAction', '_route' => 'user_invalid_token',);
}
}
}
if (preg_match('#^unda\\.co$#sDi', $host, $hostMatches)) {
// index
if ('' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'Hona\\LandingBundle\\Controller\\DefaultController::indexAction', '_route' => 'index',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_index;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'index'));
}
return $ret;
}
not_index:
}
// homepage
if ('' === $trimmedPathinfo) {
$ret = array ( '_controller' => 'AppBundle\\Controller\\DefaultController::indexAction', '_route' => 'homepage',);
if ('/' === substr($pathinfo, -1)) {
// no-op
} elseif ('GET' !== $canonicalMethod) {
goto not_homepage;
} else {
return array_replace($ret, $this->redirect($rawPathinfo.'/', 'homepage'));
}
return $ret;
}
not_homepage:
if ('/' === $pathinfo && !$allow) {
throw new Symfony\Component\Routing\Exception\NoConfigurationException();
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}