Sulu\Component\Content\Compat\Structure\LegacyPropertyFactory::convertArrayToParameters PHP Method

convertArrayToParameters() private method

private convertArrayToParameters ( $arrayParams )
    private function convertArrayToParameters($arrayParams)
    {
        $parameters = [];
        foreach ($arrayParams as $arrayParam) {
            $value = $arrayParam['value'];
            if (is_array($value)) {
                $value = $this->convertArrayToParameters($value);
            }
            $parameters[$arrayParam['name']] = new PropertyParameter($arrayParam['name'], $value, $arrayParam['type'], $arrayParam['meta']);
        }
        return $parameters;
    }