Modifying readme
This commit is contained in:
parent
840984b8d5
commit
1f4d2894ed
|
@ -50,7 +50,7 @@ First, create a new notification or use an existing one :
|
|||
php artisan make:notification BMailNotification
|
||||
```
|
||||
|
||||
Next, add a public field 'id' to your class, which will be initialized in the constructor :
|
||||
Next, add a public field '$id' to your class, which will be initialized in the constructor :
|
||||
|
||||
```bash
|
||||
public $id;
|
||||
|
@ -70,7 +70,7 @@ Then, in the via method add :
|
|||
return [BMailChannel::class];
|
||||
```
|
||||
|
||||
Then, create a toTemplate method, in which you specify your template fields :
|
||||
Then, create a 'toTemplate()' method, in which you specify your template fields :
|
||||
|
||||
```bash
|
||||
public function toTemplate($notifiable)
|
||||
|
|
Loading…
Reference in New Issue