Closed lhilton closed 8 years ago
Cancelling PR. Change made against wrong branch, strategy used also not correct.
Reopened PR after improving solution. Individual setters are still available, but my primary mechanism for queued job support now comes from serializing out the Akismet instance at the time the form is submitted:
$submission->akismet_data = \Akismet::toArray();
Then I can continue processing later in a queued job:
if(Akismet::fill($submission->akismet_data)->$ak->isSpam()) { ... }
Thanks :+1:, I merged it into the guzzle branch, will tag/update master later this week.
Need to be able to store some values to allow akismet to be checked as a queued job instead of a realtime task.