protected function convertParameterDataToArray(array $parametersInformation)
    {
        $parameters = [];
        foreach ($parametersInformation as $parameterName => $parameterData) {
            $parameters[$parameterName] = [
                'position' => $parameterData[self::DATA_PARAMETER_POSITION],
                'optional' => isset($parameterData[self::DATA_PARAMETER_OPTIONAL]),
                'type' => $parameterData[self::DATA_PARAMETER_TYPE],
                'class' => isset($parameterData[self::DATA_PARAMETER_CLASS]) ? $parameterData[self::DATA_PARAMETER_CLASS] : null,
                'array' => isset($parameterData[self::DATA_PARAMETER_ARRAY]),
                'byReference' => isset($parameterData[self::DATA_PARAMETER_BY_REFERENCE]),
                'allowsNull' => isset($parameterData[self::DATA_PARAMETER_ALLOWS_NULL]),
                'defaultValue' => isset($parameterData[self::DATA_PARAMETER_DEFAULT_VALUE]) ? $parameterData[self::DATA_PARAMETER_DEFAULT_VALUE] : null,
                'scalarDeclaration' => isset($parameterData[self::DATA_PARAMETER_SCALAR_DECLARATION])
            ];
        }

        return $parameters;
    }
protected function convertParameterDataToArray(array $parametersInformation)
    {
        $parameters = [];
        foreach ($parametersInformation as $parameterName => $parameterData) {
            $parameters[$parameterName] = [
                'position' => $parameterData[self::DATA_PARAMETER_POSITION],
                'optional' => isset($parameterData[self::DATA_PARAMETER_OPTIONAL]),
                'type' => $parameterData[self::DATA_PARAMETER_TYPE],
                'class' => isset($parameterData[self::DATA_PARAMETER_CLASS]) ? $parameterData[self::DATA_PARAMETER_CLASS] : null,
                'array' => isset($parameterData[self::DATA_PARAMETER_ARRAY]),
                'byReference' => isset($parameterData[self::DATA_PARAMETER_BY_REFERENCE]),
                'allowsNull' => isset($parameterData[self::DATA_PARAMETER_ALLOWS_NULL]),
                'defaultValue' => isset($parameterData[self::DATA_PARAMETER_DEFAULT_VALUE]) ? $parameterData[self::DATA_PARAMETER_DEFAULT_VALUE] : null,
                'scalarDeclaration' => isset($parameterData[self::DATA_PARAMETER_SCALAR_DECLARATION])
            ];
        }

        return $parameters;
    }
protected function convertParameterDataToArray ( array $ parametersInformation ) { $ parameters = [ ] ; foreach ( $ parametersInformation as $ parameterName => $ parameterData ) { $ parameters [ $ parameterName ] = [ 'position' => $ parameterData [ self :: DATA_PARAMETER_POSITION ] , 'optional' => isset ( $ parameterData [ self :: DATA_PARAMETER_OPTIONAL ] ) , 'type' => $ parameterData [ self :: DATA_PARAMETER_TYPE ] , 'class' => isset ( $ parameterData [ self :: DATA_PARAMETER_CLASS ] ) ? $ parameterData [ self :: DATA_PARAMETER_CLASS ] : null , 'array' => isset ( $ parameterData [ self :: DATA_PARAMETER_ARRAY ] ) , 'byReference' => isset ( $ parameterData [ self :: DATA_PARAMETER_BY_REFERENCE ] ) , 'allowsNull' => isset ( $ parameterData [ self :: DATA_PARAMETER_ALLOWS_NULL ] ) , 'defaultValue' => isset ( $ parameterData [ self :: DATA_PARAMETER_DEFAULT_VALUE ] ) ? $ parameterData [ self :: DATA_PARAMETER_DEFAULT_VALUE ] : null , 'scalarDeclaration' => isset ( $ parameterData [ self :: DATA_PARAMETER_SCALAR_DECLARATION ] ) ] ; } return $ parameters ; }
Converts the internal, optimized data structure of parameter information into
a human-friendly array with speaking indexes.

@param array $parametersInformation Raw, internal parameter information
@return array Developer friendly version
Converts the internal optimized data structure of parameter information into a human - friendly array with speaking indexes .