We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The task below will trigger the following error when called.
TypeError: this.myMethod is not a function
export default class MyTask implements JobContract { public key = 'theTaskKey' public async handle(job) { this.myMethod() } public async myMethod() {} }
Is there a way to call a method from the same class inside handle()?
handle()
The text was updated successfully, but these errors were encountered:
Hi @LeCoupa ! Unfortunately, as it is being done today it is not possible. But I will made a PR that fixes this.
Sorry, something went wrong.
Thank you 😊
Hey, I've just published 1.0.0-1 that should fix the issue.
1.0.0-1
Let me know if you have any problem @LeCoupa 💜
Thank you 🙏
Successfully merging a pull request may close this issue.
The task below will trigger the following error when called.
Is there a way to call a method from the same class inside
handle()
?The text was updated successfully, but these errors were encountered: