1 | <?php |
||
11 | class AuditSns extends Notification |
||
12 | { |
||
13 | /** @var array $auditData */ |
||
14 | protected $auditData = null; |
||
15 | |||
16 | /** |
||
17 | * Create a new notification instance. |
||
18 | * |
||
19 | * @param array $auditData |
||
20 | */ |
||
21 | 3 | public function __construct(array $auditData) |
|
25 | |||
26 | /** |
||
27 | * Get the notification's delivery channels. |
||
28 | * |
||
29 | * @param \OwenIt\Auditing\Contracts\Auditable $notifiable |
||
30 | * @return array |
||
31 | */ |
||
32 | 1 | public function via($notifiable) |
|
36 | |||
37 | /** |
||
38 | * Get the SNS representation of the notification. |
||
39 | * |
||
40 | * @param \OwenIt\Auditing\Contracts\Auditable $notifiable |
||
41 | * @return \Lab123\AwsSns\Messages\AwsSnsMessage |
||
42 | */ |
||
43 | 1 | public function toAwsSnsTopic($notifiable) |
|
58 | } |
||
59 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.