1 | <?php |
||
24 | class IsParticipantThreadSpecification |
||
25 | { |
||
26 | /** |
||
27 | * Checks if the given participant is part of the participants of the thread |
||
28 | * |
||
29 | * @param ParticipantInterface $participant The user that we check for |
||
30 | * @param ThreadInterface $thread The thread that we check |
||
31 | * |
||
32 | * @return boolean true if participant can see the thread, false otherwise |
||
33 | */ |
||
34 | public function isSatisfiedBy(ParticipantInterface $participant, ThreadInterface $thread) |
||
42 | } |
||
43 |