public function getKey($_)
    {
        $keys = $this->validateKeys(func_get_args());

        $keys  = array_reverse($keys);
        $array = $this->getArrayCopy();
        while (count($keys) > 0) {
            $key   = array_pop($keys);
            $array = $array[$key];
        }

        return $array;
    }
public function getKey($_)
    {
        $keys = $this->validateKeys(func_get_args());

        $keys  = array_reverse($keys);
        $array = $this->getArrayCopy();
        while (count($keys) > 0) {
            $key   = array_pop($keys);
            $array = $array[$key];
        }

        return $array;
    }
public function getKey ( $ _ ) { $ keys = $ this -> validateKeys ( func_get_args ( ) ) ; $ keys = array_reverse ( $ keys ) ; $ array = $ this -> getArrayCopy ( ) ; while ( count ( $ keys ) > 0 ) { $ key = array_pop ( $ keys ) ; $ array = $ array [ $ key ] ; } return $ array ; }
Get the value of a specific key.

To get a value several levels deep, add the keys for each level as a comma-separated list.

@since 0.1.0
@since 0.1.4 Accepts list of keys.

@param string|array $_ List of keys.

@return mixed
@throws KeyNotFoundException If an unknown key is requested.
Get the value of a specific key .