- /**
- * Check if a key isset which may be several layers deep.
- *
- * This is a helper for when the calling function does not know how many layers deep the
- * path array is so cannot easily check.
- *
- * @param array $array
- * @param array $path
- * @return bool
- * @deprecated
- */
- public static function recursiveIsset($array, $path) {
- return self::pathIsset($array, $path);
- }
-
- /**
- * Check if a key isset which may be several layers deep.
- *
- * This is a helper for when the calling function does not know how many layers deep the
- * path array is so cannot easily check.
- *
- * @param array $array
- * @param array $path
- * An array of keys - e.g [0, 'bob', 8] where we want to check if $array[0]['bob'][8]
- * @param mixed $default
- * Value to return if not found.
- * @return bool
- * @deprecated
- */
- public static function recursiveValue($array, $path, $default = NULL) {
- return self::pathGet($array, $path, $default);
- }
-
- /**
- * Append the value to the array using the key provided.
- *
- * e.g if value is 'llama' & path is [0, 'email', 'location'] result will be
- * [0 => ['email' => ['location' => 'llama']]
- *
- * @param $path
- * @param $value
- * @param array $source
- *
- * @return array
- * @deprecated
- */
- public static function recursiveBuild($path, $value, $source = []) {
- self::pathSet($source, $path, $value);
- return $source;
- }
-