| 1 | <?php |
||
| 13 | class PhoneVerificationNotification extends Notification implements ShouldQueue |
||
| 14 | { |
||
| 15 | use Queueable; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The notification method (sms/call). |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | public $method; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Determine whether to force the notification over cellphone network. |
||
| 26 | * |
||
| 27 | * @var bool |
||
| 28 | */ |
||
| 29 | public $force; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Create a notification instance. |
||
| 33 | * |
||
| 34 | * @param string $method |
||
| 35 | * @param bool $force |
||
| 36 | */ |
||
| 37 | public function __construct(string $method = 'sms', bool $force = false) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Get the notification's channels. |
||
| 45 | * |
||
| 46 | * @param mixed $notifiable |
||
| 47 | * |
||
| 48 | * @return array|string |
||
| 49 | */ |
||
| 50 | public function via($notifiable) |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Build the mail representation of the notification. |
||
| 57 | * |
||
| 58 | * @return \NotificationChannels\Authy\AuthyMessage |
||
| 59 | */ |
||
| 60 | public function toAuthy(): AuthyMessage |
||
| 70 | } |
||
| 71 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.