Compare commits

...

2 Commits

Author SHA1 Message Date
Dave Mc Nicoll
a364a51f85 - Merged commits 2023-04-13 15:46:22 -04:00
Dave Mc Nicoll
7c2897284b - Forced a cronKey to be given 2023-04-13 15:45:26 -04:00

View File

@ -25,6 +25,7 @@ class CronardMiddleware implements MiddlewareInterface
public ? TaskFetcher $taskFetcher; public ? TaskFetcher $taskFetcher;
public function __construct(ContainerInterface $container, string $cronKey = "", $responseInterface = null, $variables = []) { public function __construct(ContainerInterface $container, string $cronKey = "", $responseInterface = null, $variables = []) {
$this->cronKey = $cronKey; $this->cronKey = $cronKey;
$this->response = $responseInterface; $this->response = $responseInterface;
$this->variables = $variables; $this->variables = $variables;