Provider/RequestParameterProvider.php
protected function resolveValueFromParameterBag(
        ParameterBag $parameterBag,
        string $delimiter,
        string $value
    ) {
        $trimmedValue = trim($value, $delimiter);

        if (
            ($delimiter . $trimmedValue . $delimiter === $value) &&
            $parameterBag->has($trimmedValue)
        ) {
            $value = $parameterBag->get($trimmedValue);
        }

        return $value;
    }
protected function resolveValueFromParameterBag(
        ParameterBag $parameterBag,
        string $delimiter,
        string $value
    ) {
        $trimmedValue = trim($value, $delimiter);

        if (
            ($delimiter . $trimmedValue . $delimiter === $value) &&
            $parameterBag->has($trimmedValue)
        ) {
            $value = $parameterBag->get($trimmedValue);
        }

        return $value;
    }
protected function resolveValueFromParameterBag ( ParameterBag $ parameterBag , string $ delimiter , string $ value ) { $ trimmedValue = trim ( $ value , $ delimiter ) ; if ( ( $ delimiter . $ trimmedValue . $ delimiter === $ value ) && $ parameterBag -> has ( $ trimmedValue ) ) { $ value = $ parameterBag -> get ( $ trimmedValue ) ; } return $ value ; }
Given a bag and a delimiter, return the resolved value.

@param ParameterBag $parameterBag
@param string       $delimiter
@param string       $value

@return mixed
Given a bag and a delimiter return the resolved value .