Class ProcessQueueScript
Process Email Queue script.
Can also be used as a cron script.
-
Charcoal\App\Script\AbstractScript
-
Charcoal\Email\Script\ProcessQueueScript
implements
Charcoal\App\Script\CronScriptInterface
uses
Charcoal\App\Script\CronScriptTrait (not available)
Methods summary
public
|
#
setDependencies( Pimple\Container $container )
Parameters
- $container
- Pimple DI container.
|
public
Psr\Http\Message\ResponseInterface
|
#
run( Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response )
Process all messages currently in queue.
Process all messages currently in queue.
Parameters
- $request
- A PSR-7 compatible Request instance.
- $response
- A PSR-7 compatible Response instance.
Returns
Psr\Http\Message\ResponseInterface
|