Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | class Notify |
||
12 | { |
||
13 | /** |
||
14 | * Send the nofitication to all the users. |
||
15 | * |
||
16 | * @param array $users |
||
17 | * @param NotificationInterfase $notification |
||
18 | * @return void |
||
19 | */ |
||
20 | public static function all(array $users, NotificationInterfase $notification) |
||
24 | } |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * Process just one. |
||
29 | * |
||
30 | * @param Users $user |
||
31 | * @param NotificationInterfase $notification |
||
32 | * @return void |
||
33 | */ |
||
34 | public static function one(Users $user, NotificationInterfase $notification): bool |
||
44 |