AddUserToGroupUseCase.php 551 Bytes
Newer Older
Jacob Priddy's avatar
Jacob Priddy committed
1
2
3
4
5
6
7
8
9
10
11
12
<?php


namespace Source\UseCases\GroupUser\AddUserToGroup;

interface AddUserToGroupUseCase
{
    /**
     * @param string                                              $userId
     * @param string                                              $groupId
     * @param \Source\UseCases\GroupUser\AddUserToGroup\Presenter $presenter
     * @throws \Source\Exceptions\EntityNotFoundException
Jacob Priddy's avatar
Jacob Priddy committed
13
     * @throws \Source\Exceptions\AuthorizationException
Jacob Priddy's avatar
Jacob Priddy committed
14
15
16
     */
    public function addUserToGroup(string $userId, string $groupId, Presenter $presenter): void;
}