Neos\Fusion\TypoScriptObjects\ArrayImplementation::sortNestedTypoScriptKeys PHP Method

sortNestedTypoScriptKeys() protected method

This will ignore all properties defined in "@ignoreProperties" in TypoScript
See also: PositionalArraySorter
protected sortNestedTypoScriptKeys ( ) : array
return array an ordered list of keys
    protected function sortNestedTypoScriptKeys()
    {
        $arraySorter = new PositionalArraySorter($this->properties, '__meta.position');
        try {
            $sortedTypoScriptKeys = $arraySorter->getSortedKeys();
        } catch (InvalidPositionException $exception) {
            throw new Fusion\Exception('Invalid position string', 1345126502, $exception);
        }
        foreach ($this->ignoreProperties as $ignoredPropertyName) {
            $key = array_search($ignoredPropertyName, $sortedTypoScriptKeys);
            if ($key !== false) {
                unset($sortedTypoScriptKeys[$key]);
            }
        }
        return $sortedTypoScriptKeys;
    }