<?php declare(strict_types=1); /* * This file is part of memberfiles bundle. * * (c) vonRotenberg * * @license commercial */ namespace vonRotenberg\MemberfilesBundle\Cron; use Contao\BackendUser; use Contao\Controller; use Contao\CoreBundle\ServiceAnnotation\Callback; use Contao\DataContainer; use Contao\System; use Doctrine\DBAL\Connection; use Psr\Log\LoggerInterface; class SecureDownloadsJob { /** @var LoggerInterface */ private $logger; /** @var Connection */ protected $db; public function __construct(Connection $db, LoggerInterface $logger) { $this->logger = $logger; $this->db = $db; } /** * @CronJob("* * * * *") */ public function sendFileNotifications(string $scope) { } }