Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | interface NotifiableInterface |
||
11 | { |
||
12 | /** |
||
13 | * @param Deal[] $deals |
||
14 | * @param SessionParameters $sessionParameters |
||
15 | * @return void |
||
16 | */ |
||
17 | public function notify(array $deals, SessionParameters $sessionParameters); |
||
18 | |||
19 | /** |
||
20 | * @param Deal $deal |
||
21 | * @param string $notifyTo |
||
22 | * @return boolean |
||
23 | */ |
||
24 | public function wasNotified(Deal $deal, $notifyTo); |
||
25 | |||
26 | /** |
||
27 | * @param SessionParameters $parameters |
||
28 | * @param Deal[] $deals |
||
29 | * @return Notification[] |
||
30 | */ |
||
31 | public function createNotifications(SessionParameters $parameters, array $deals = []); |
||
32 | } |
||
33 |
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.