Total Complexity | 2 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class CustomNotification |
||
8 | { |
||
9 | /** |
||
10 | * @var \Honeybadger\Config |
||
11 | */ |
||
12 | protected $config; |
||
13 | |||
14 | /** |
||
15 | * @var \Honeybadger\Support\Repository |
||
16 | */ |
||
17 | protected $context; |
||
18 | |||
19 | /** |
||
20 | * @param \Honeybadger\Config $config |
||
21 | * @param \Honeybadger\Support\Repository $context |
||
22 | */ |
||
23 | public function __construct(Config $config, Repository $context) |
||
24 | { |
||
25 | $this->config = $config; |
||
26 | $this->context = $context; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @param array $payload |
||
31 | * @return array |
||
32 | */ |
||
33 | public function make(array $payload) : array |
||
48 | ); |
||
49 | } |
||
51 |