| 1 | <?php |
||
| 10 | class AuthyChannel |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * The Authy token instance. |
||
| 14 | * |
||
| 15 | * @var \Rinvex\Authy\Token |
||
| 16 | */ |
||
| 17 | protected $authyToken; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Create a new Authy channel instance. |
||
| 21 | * |
||
| 22 | * @param \Rinvex\Authy\Token $authyToken |
||
| 23 | */ |
||
| 24 | public function __construct(AuthyToken $authyToken) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Send the given notification. |
||
| 31 | * |
||
| 32 | * @param mixed $notifiable |
||
| 33 | * @param \Illuminate\Notifications\Notification $notification |
||
| 34 | * |
||
| 35 | * @return bool |
||
| 36 | */ |
||
| 37 | public function send($notifiable, Notification $notification) |
||
| 51 | } |
||
| 52 |