Total Lines | 14 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | interface CanMessageRecipientManagerInterface |
||
21 | { |
||
22 | /** |
||
23 | * Decides whether the logged in user can send a message to the recipient. |
||
24 | * |
||
25 | * @param ParticipantInterface $loggedInUser The logged in user |
||
26 | * @param ParticipantInterface $recipient The recipient we check |
||
27 | * |
||
28 | * @return boolean true if the loggedInUser can send a message to the recipient, false otherwise. |
||
29 | */ |
||
30 | public function canMessageRecipient(ParticipantInterface $loggedInUser, ParticipantInterface $recipient); |
||
31 | |||
32 | public function getErrorMessage(); |
||
33 | } |
||
34 |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.