sources/Filter/ValueFormatterFilter.php
private function extractArguments(string $argumentList): array
    {
        $arguments = [];

        foreach (array_map('trim', explode(',', $argumentList)) as $rawArgument) {
            if ($rawArgument === '') {
                continue;
            }

            list ($argumentName, $argumentValue) = array_map('trim', explode('=', $rawArgument, 2) + [
                null,
                null
            ]);

            $arguments[$argumentName] = $argumentValue;
        }

        return $arguments;
    }
private function extractArguments(string $argumentList): array
    {
        $arguments = [];

        foreach (array_map('trim', explode(',', $argumentList)) as $rawArgument) {
            if ($rawArgument === '') {
                continue;
            }

            list ($argumentName, $argumentValue) = array_map('trim', explode('=', $rawArgument, 2) + [
                null,
                null
            ]);

            $arguments[$argumentName] = $argumentValue;
        }

        return $arguments;
    }
private function extractArguments ( string $ argumentList ) : array { $ arguments = [ ] ; foreach ( array_map ( 'trim' , explode ( ',' , $ argumentList ) ) as $ rawArgument ) { if ( $ rawArgument === '' ) { continue ; } list ( $ argumentName , $ argumentValue ) = array_map ( 'trim' , explode ( '=' , $ rawArgument , 2 ) + [ null , null ] ) ; $ arguments [ $ argumentName ] = $ argumentValue ; } return $ arguments ; }
Extracts the arguments for a raw argument list.

@param string $argumentList
The raw argument list.
@return string[] Native map with extracted arguments.
Extracts the arguments for a raw argument list .