PHP Класс Neos\Neos\Routing\BackendModuleRoutePartHandler

Наследование: extends Neos\Flow\Mvc\Routing\DynamicRoutePart
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$settings array

Открытые методы

Метод Описание
injectSettings ( array $settings ) : void

Защищенные методы

Метод Описание
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

Описание методов

findValueToMatch() защищенный Метод

protected findValueToMatch ( string $requestPath ) : string
$requestPath string
Результат string

injectSettings() публичный Метод

public injectSettings ( array $settings ) : void
$settings array
Результат void

matchValue() защищенный Метод

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
Результат boolean | integer

resolveValue() защищенный Метод

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)
Результат boolean

Описание свойств

$settings защищенное свойство

protected array $settings
Результат array