... |
... |
@@ -17,6 +17,7 @@ use Contao\System;
|
17 |
17 |
use Symfony\Component\Console\Command\Command;
|
18 |
18 |
use Symfony\Component\Console\Input\InputInterface;
|
19 |
19 |
use Symfony\Component\Console\Output\OutputInterface;
|
|
20 |
+use vonRotenberg\WeinanlieferungBundle\Cron\SendBookingChangeNotificationJob;
|
20 |
21 |
|
21 |
22 |
class SendBookingChangeNotificationCommand extends Command
|
22 |
23 |
{
|
... |
... |
@@ -39,6 +40,7 @@ class SendBookingChangeNotificationCommand extends Command
|
39 |
40 |
{
|
40 |
41 |
$this->framework->initialize();
|
41 |
42 |
|
|
43 |
+ /** @var SendBookingChangeNotificationJob $wa_service */
|
42 |
44 |
$wa_service = System::getContainer()->get("vonrotenberg.cron.wa_booking_notifications");
|
43 |
45 |
|
44 |
46 |
$wa_service('cli');
|