public function get($key)
    {
        $index = explode('.', $key);
        $ret = self::getValue($this->item, $index, true, $err);
        
        if ($err) {
            $invalidPath = join('.', array_slice($index, 0, -1 * $err->incomplete));
            trigger_error("Unable to get '$key': '$invalidPath' is a {$err->var}", E_USER_WARNING);
        } // @codeCoverageIgnore
        
        return $ret;
    }
public function get($key)
    {
        $index = explode('.', $key);
        $ret = self::getValue($this->item, $index, true, $err);
        
        if ($err) {
            $invalidPath = join('.', array_slice($index, 0, -1 * $err->incomplete));
            trigger_error("Unable to get '$key': '$invalidPath' is a {$err->var}", E_USER_WARNING);
        } // @codeCoverageIgnore
        
        return $ret;
    }
public function get ( $ key ) { $ index = explode ( '.' , $ key ) ; $ ret = self :: getValue ( $ this -> item , $ index , true , $ err ) ; if ( $ err ) { $ invalidPath = join ( '.' , array_slice ( $ index , 0 , - 1 * $ err -> incomplete ) ) ; trigger_error ( "Unable to get '$key': '$invalidPath' is a {$err->var}" , E_USER_WARNING ) ; } // @codeCoverageIgnore return $ ret ; }
Get a value

@param string $key The index to fetch in dot notation
@return mixed
Get a value