public function getParent()
    {
        return (new Query())->where(['nav_id' => $this->parentNavId, 'container' => $this->getContainer()])->with($this->_with)->lang($this->lang)->one();
    }
public function getParent()
    {
        return (new Query())->where(['nav_id' => $this->parentNavId, 'container' => $this->getContainer()])->with($this->_with)->lang($this->lang)->one();
    }
public function getParent ( ) { return ( new Query ( ) ) -> where ( [ 'nav_id' => $ this -> parentNavId , 'container' => $ this -> getContainer ( ) ] ) -> with ( $ this -> _with ) -> lang ( $ this -> lang ) -> one ( ) ; }
Returns a Item-Object of the parent element, if no parent element exists returns false.

@return \luya\cms\menu\Item|boolean Returns the parent item-object or false if not exists.
Returns a Item - Object of the parent element if no parent element exists returns false .