DoorUserGroupMapUseCase.php 362 Bytes
Newer Older
Jacob Priddy's avatar
Jacob Priddy committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php


namespace Source\UseCases\DoorUserGroup;

interface DoorUserGroupMapUseCase
{
    /**
     * Returns groups that a door and a user both belong to
     *
     * @param string $doorId
     * @param string $userId
     * @return \Source\Entities\Group[]
     */
    public function getGroupsForDoorUserIntersection(string $doorId, string $userId): array;
}