<?php

namespace Modules\Category\Services\CategoryTreeUpdater;

interface CategoryTreeUpdaterServiceInterface
{
    /**
     * Update category tree order.
     *
     * @param int $menuId
     * @param array $tree
     *
     * @return void
     */
    public function update(int $menuId, array $tree): void;
}
