| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class PushmixChannel |
||
| 10 | { |
||
| 11 | /** @var PushmixClient */ |
||
| 12 | protected $pusmixClient; |
||
| 13 | |||
| 14 | 3 | public function __construct(PushmixClient $pusmixClient) |
|
| 17 | 3 | } |
|
| 18 | |||
| 19 | /** |
||
| 20 | * Send Notification. |
||
| 21 | * |
||
| 22 | * @param mixed $notifiable |
||
| 23 | * @param \Illuminate\Notifications\Notification $notification |
||
| 24 | * |
||
| 25 | * @return \Psr\Http\Message\ResponseInterface |
||
| 26 | * @throws \Pushmix\WebNotification\Exceptions\CouldNotSendNotification |
||
| 27 | */ |
||
| 28 | 3 | public function send($notifiable, Notification $notification) |
|
| 49 |