PHP Class Neos\Neos\Routing\BackendModuleRoutePartHandler

Inheritance: extends Neos\Flow\Mvc\Routing\DynamicRoutePart
Show file Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Property Type Description
$settings array

Public Methods

Method Description
injectSettings ( array $settings ) : void

Protected Methods

Method Description
findValueToMatch ( string $requestPath ) : string
matchValue ( string $value ) : boolean | integer Iterate through the segments of the current request path find the corresponding module configuration and set controller & action accordingly
resolveValue ( array $value ) : boolean Iterate through the configured modules, find the matching module and set the route path accordingly

Method Details

findValueToMatch() protected method

protected findValueToMatch ( string $requestPath ) : string
$requestPath string
return string

injectSettings() public method

public injectSettings ( array $settings ) : void
$settings array
return void

matchValue() protected method

Iterate through the segments of the current request path find the corresponding module configuration and set controller & action accordingly
protected matchValue ( string $value ) : boolean | integer
$value string
return boolean | integer

resolveValue() protected method

Iterate through the configured modules, find the matching module and set the route path accordingly
protected resolveValue ( array $value ) : boolean
$value array (contains action, controller and package of the module controller)
return boolean

Property Details

$settings protected property

protected array $settings
return array