| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 93 | public function send() |
||
| 94 | { |
||
| 95 | if ($this->user) { |
||
| 96 | $this->user->notify(new Notification( |
||
| 97 | $this->subject, |
||
| 98 | $this->content, |
||
| 99 | $this->link, |
||
| 100 | $this->link_label, |
||
| 101 | $this->data, |
||
| 102 | $this->attachments, |
||
| 103 | $this->cc, |
||
| 104 | $this->bcc, |
||
| 105 | $this->template |
||
| 106 | )); |
||
| 107 | } else { |
||
| 108 | throw new \CleaniqueCoders\LaravelHelper\Exceptions\NoUserSpecifiedException('No User Specified.', 1); |
||
| 109 | } |
||
| 112 |