Support the ongoing development of →
Requests Mail Queues
Last updated 1 year ago.

The issue is that although you are passing your token to the notification class, you aren't doing anything with it in the constructor. You need to set up the property and then assign it when you pass it through.

// Class definition above
protected $token;
public function __construct($token) {
 $this->token = $token

Then you will have access to your token property

Last updated 7 years ago.

Of course... rookie mistake Thank you!!


Sign in to participate in this thread!


Your banner here too?

TorchSK torchsk Joined 17 Apr 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.