Encore\Admin\Auth\Database\Menu::delete PHP Method

delete() public method

Delete current item and its children.
public delete ( ) : boolean | null
return boolean | null
    public function delete()
    {
        $this->where('parent_id', $this->id)->delete();
        return parent::delete();
    }