Skip to content

3.7.4

Choose a tag to compare

@binaryk binaryk released this 14 Jun 10:03
· 59 commits to 3.x since this release
bc70787

Added

  • executeWhenPasses method on MailatorScheduler so now executions will take into consideration constraints
  • Added Binarcode\LaravelMailator\Scheduler and Binarcode\LaravelMailator\Mailator facades so you can use:
Scheduler::init('Reminder')
->mailable(new Mailable())
->hours(1)
->before(Carbon::parse($someDate))

You don't even need to save it, as the package knows to save this pending instance when the script ends.