| 1 | <?php |
||
| 22 | class PhoneVerificationNotification extends Notification |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * The notification method (sms/call). |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | public $method; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Determine whether to force the notification over cellphone network. |
||
| 33 | * |
||
| 34 | * @var bool |
||
| 35 | */ |
||
| 36 | public $force; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Create a notification instance. |
||
| 40 | * |
||
| 41 | * @param string $method |
||
| 42 | * @param bool $force |
||
| 43 | */ |
||
| 44 | public function __construct($method = 'sms', $force = false) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Get the notification's channels. |
||
| 52 | * |
||
| 53 | * @param mixed $notifiable |
||
| 54 | * |
||
| 55 | * @return array|string |
||
| 56 | */ |
||
| 57 | public function via($notifiable) |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Build the mail representation of the notification. |
||
| 64 | * |
||
| 65 | * @return \NotificationChannels\Authy\AuthyMessage |
||
| 66 | */ |
||
| 67 | public function toAuthy() |
||
| 77 | } |
||
| 78 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.