Tasks it's simple system to manage delayed tasks execution.
For example, it's code of crone file:
$executor = new \Tasks\Executor(); $executor->Start();
And it's code of calling usual task:
$mailer = new \Tasks\MailDelayed(); $mailer->Send('to@example.com', 'Re: Hello', 'Hi, To!');
As you can see, it's simple enough.
More documentation of Tasks
No comments:
Post a Comment