Interface IRoute
Responsibility - describing request(s) to match and reversely build URL addresses.
- Describing request scheme, domain and base path part and target application module, optionally to define allowed localizations or allowed media versions.
- Matching request by given request object, see \MvcCore\Route::Matches()
.
- Completing URL address scheme, domain and base path part by given params array, see \MvcCore\Route::Url()
.
Direct known implementers
MvcCore\Ext\Routers\Modules\Route
Namespace: MvcCore\Ext\Routers\Modules
Located at ext-router-module/src/MvcCore/Ext/Routers/Modules/IRoute.php
Located at ext-router-module/src/MvcCore/Ext/Routers/Modules/IRoute.php
string |
CONFIG_ALLOWED_MODULES
Route advanced configuration key to define allowed module names, where standard route could be used. |
#
'allowedModules'
|
string |
CONFIG_ALLOWED_LOCALIZATIONS
Route advanced configuration key to define (only) allowed localizations for target application module. |
#
'allowedLocalizations'
|
string |
CONFIG_ALLOWED_MEDIA_VERSIONS
Route advanced configuration key to define (only) allowed media (device) versions for target application module. |
#
'allowedMediaVersions'
|