public function findOne(){

            foreach($this->data as $k=>$v){
                $key = $k;
                break;
            }

            if(is_array($this->data[$key])){
                return (new \NonDB\Data($this->data[$key], $key))->setParent($this);
            }else{
                return $this->data[$key];
            }

        }
public function findOne(){

            foreach($this->data as $k=>$v){
                $key = $k;
                break;
            }

            if(is_array($this->data[$key])){
                return (new \NonDB\Data($this->data[$key], $key))->setParent($this);
            }else{
                return $this->data[$key];
            }

        }
public function findOne ( ) { foreach ( $ this -> data as $ k => $ v ) { $ key = $ k ; break ; } if ( is_array ( $ this -> data [ $ key ] ) ) { return ( new \ NonDB \ Data ( $ this -> data [ $ key ] , $ key ) ) -> setParent ( $ this ) ; } else { return $ this -> data [ $ key ] ; } }
Get one of the data.

@return \NonDB\data
Get one of the data .