class NestedArray

Provides helpers to perform operations on nested arrays and array keys of variable depth.

Hierarchy

Expanded class hierarchy of NestedArray

5 files declare their use of NestedArray

File

drupal/core/lib/Drupal/Component/Utility/NestedArray.php, line 13
Contains Drupal\Component\Utility\NestedArray.

Namespace

Drupal\Component\Utility
View source

Members

Namesort descending Modifiers Type Description Overrides
NestedArray::getValue public static function Retrieves a value from a nested array with variable depth.
NestedArray::keyExists public static function Determines whether a nested array contains the requested keys.
NestedArray::mergeDeep public static function Merges multiple arrays, recursively, and returns the merged array.
NestedArray::mergeDeepArray public static function Merges multiple arrays, recursively, and returns the merged array.
NestedArray::setValue public static function Sets a value in a nested array with variable depth.
NestedArray::unsetValue public static function Unsets a value in a nested array with variable depth.