| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 102 | public function send() |
||
| 103 | { |
||
| 104 | if ($this->user) { |
||
| 105 | $this->user->notify(new Notification( |
||
| 106 | $this->subject, |
||
| 107 | $this->content, |
||
| 108 | $this->link, |
||
| 109 | $this->link_label, |
||
| 110 | $this->data, |
||
| 111 | $this->attachments, |
||
| 112 | $this->cc, |
||
| 113 | $this->bcc, |
||
| 114 | $this->template |
||
| 115 | )); |
||
| 116 | } else { |
||
| 117 | throw new \CleaniqueCoders\LaravelHelper\Exceptions\NoUserSpecifiedException('No User Specified.', 1); |
||
| 118 | } |
||
| 121 |