Trait RewriteRoutingChecks
Methods summary
protected
boolean
|
#
rewriteRoutingCheckRoute( MvcCore\IRoute $route, array $additionalInfo )
Return TRUE if there is possible (or not) by additional info array
records to route incoming request by given route as first argument.
Check, if route object has defined any http method and if the request has
the same method or not and check if route object is localized route
instance and if there is also any localization found in request. If there
is a conflict, return FALSE , if there is everything OK, return TRUE .
Return TRUE if there is possible (or not) by additional info array
records to route incoming request by given route as first argument.
Check, if route object has defined any http method and if the request has
the same method or not and check if route object is localized route
instance and if there is also any localization found in request. If there
is a conflict, return FALSE , if there is everything OK, return TRUE .
Parameters
- $route
- $additionalInfo
Array with request method as string, localization found in
request as bool, route is localized as bool and boolean
about not skip localized routes matching when request has no
localization in path and other conditions described inside
this function.
Returns
boolean
|