<?php declare(strict_types=1);
/**
 * This file is part of the SplendidBear Websites' projects.
 *
 * Copyright (c) 2019 @ www.splendidbear.org
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace App\Interfaces;

/**
 * Interface TopicManagerInterface
 *
 * @package  App\Interfaces
 * @author   Lang <https://www.splendidbear.org>
 * @category Interface
 * @license  https://www.gnu.org/licenses/lgpl-3.0.en.html GNU Lesser General Public License
 * @link     www.splendidbear.org
 * @since    2026. 04. 09.
 */
interface TopicManagerInterface
{
    public function subscribe(string $gameAssoc, string $userName): void;

    public function unSubscribe(string $gameAssoc, string $userName): void;

    public function publish(string $gameAssoc, string $userName, array $event): array;
}
