| 1 | <?php |
||
| 27 | class CanDeleteThreadSpecification |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * Checks if the given participant can delete the given thread. |
||
| 31 | * |
||
| 32 | * @param ParticipantInterface $participant The user that we check for |
||
| 33 | * @param ThreadInterface $thread The thread that we check |
||
| 34 | * |
||
| 35 | * @return boolean true if participant can delete the thread, false otherwise. |
||
| 36 | */ |
||
| 37 | public function isSatisfiedBy(ParticipantInterface $participant, ThreadInterface $thread) |
||
| 41 | } |
||
| 42 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.