Neos\Neos\Routing\BackendModuleArgumentsRoutePartHandler::resolveValue PHP Метод

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
    protected function resolveValue($value)
    {
        if (is_array($value)) {
            $this->value = isset($value['@action']) && $value['@action'] !== 'index' ? $value['@action'] : '';
            if ($this->value !== '' && isset($value['@format'])) {
                $this->value .= '.' . $value['@format'];
            }
            $exceedingArguments = array();
            foreach ($value as $argumentKey => $argumentValue) {
                if (substr($argumentKey, 0, 1) !== '@' && substr($argumentKey, 0, 2) !== '__') {
                    $exceedingArguments[$argumentKey] = $argumentValue;
                }
            }
            if ($exceedingArguments !== array()) {
                $exceedingArguments = Arrays::removeEmptyElementsRecursively($exceedingArguments);
                $exceedingArguments = $this->persistenceManager->convertObjectsToIdentityArrays($exceedingArguments);
                $queryString = http_build_query(array($this->name => $exceedingArguments), null, '&');
                if ($queryString !== '') {
                    $this->value .= '?' . $queryString;
                }
            }
        }
        return true;
    }
BackendModuleArgumentsRoutePartHandler