Closed boujois closed 1 year ago
Describe the bug In the docs it suggests $this->line('some message'); however looking at the demo repo it should be $this->status()->line('some message');
$this->line('some message');
$this->status()->line('some message');
https://tobytwigger.github.io/laravel-job-status/features/messages/
To Reproduce Steps to reproduce the behavior:
In your job handle method place:
$this->line('3/10 emails sent.');
Screenshots Call to undefined method App\Jobs\XXXX::line()
Call to undefined method App\Jobs\XXXX::line()
Additional context I might be missing something, as I had issues with vendor:publish, but from looking at the demo repo it looks like a docs issue.
Figured it out from the example repo:
You have to chain it like so: $this->status()->line('This is a test message.');
$this->status()->line('This is a test message.');
Documentation needs amending.
Describe the bug In the docs it suggests
$this->line('some message');
however looking at the demo repo it should be$this->status()->line('some message');
https://tobytwigger.github.io/laravel-job-status/features/messages/
To Reproduce Steps to reproduce the behavior:
In your job handle method place:
$this->line('3/10 emails sent.');
Screenshots
Call to undefined method App\Jobs\XXXX::line()
Additional context I might be missing something, as I had issues with vendor:publish, but from looking at the demo repo it looks like a docs issue.