| 1 | <?php |
||
| 13 | class FreeMobileChannel |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var FreeMobileSms |
||
| 17 | */ |
||
| 18 | protected $client; |
||
| 19 | |||
| 20 | //------------------------------------------------------------------------- |
||
| 21 | |||
| 22 | /** |
||
| 23 | * FreeMobileChannel constructor. |
||
| 24 | * |
||
| 25 | * @return self |
||
|
|
|||
| 26 | */ |
||
| 27 | public function __construct(FreeMobileSms $client) |
||
| 31 | |||
| 32 | //------------------------------------------------------------------------- |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Send the given notification. |
||
| 36 | * |
||
| 37 | * @param mixed $notifiable |
||
| 38 | * @param \Illuminate\Notifications\Notification $notification |
||
| 39 | * @return bool |
||
| 40 | */ |
||
| 41 | public function send($notifiable, Notification $notification) |
||
| 47 | |||
| 48 | //------------------------------------------------------------------------- |
||
| 49 | } |
||
| 50 |
Adding a
@returnannotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.