static function pathGet($values, $path, $default = NULL) {
        foreach ($path as $key) {
            if (!is_array($values) || !isset($values[$key])) {
                return $default;
            }
            $values = $values[$key];
        }
        return $values;
    }
static function pathGet($values, $path, $default = NULL) {
        foreach ($path as $key) {
            if (!is_array($values) || !isset($values[$key])) {
                return $default;
            }
            $values = $values[$key];
        }
        return $values;
    }
static function pathGet ( $ values , $ path , $ default = NULL ) { foreach ( $ path as $ key ) { if ( ! is_array ( $ values ) || ! isset ( $ values [ $ key ] ) ) { return $ default ; } $ values = $ values [ $ key ] ; } return $ values ; }
Get a single value from an array-tree.

@param   array     $values   Ex: ['foo' => ['bar' => 123]].
@param   array     $path     Ex: ['foo', 'bar'].
@param   mixed     $default
@return  mixed               Ex 123.

@access  public
@static
Get a single value from an array - tree .