| 1 | <?php |
||
| 10 | class JusibeChannel |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * The Jusibe client instance. |
||
| 14 | * |
||
| 15 | * @var \Jusibe\Jusibe |
||
| 16 | */ |
||
| 17 | protected $jusibe; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The phone number notifications should be sent from. |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $from; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Create a new Jusibe channel instance. |
||
| 28 | * |
||
| 29 | * @param JusibeClient $jusibe |
||
| 30 | * @return void |
||
|
|
|||
| 31 | */ |
||
| 32 | public function __construct(JusibeClient $jusibe) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Send the given notification. |
||
| 39 | * |
||
| 40 | * @param mixed $notifiable |
||
| 41 | * @param \Illuminate\Notifications\Notification $notification |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | public function send($notifiable, Notification $notification) |
||
| 72 | } |
||
| 73 | |||
| 74 |
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.