MCPcopy Create free account
hub / github.com/Rello/analytics / __construct

Method __construct

lib/BackgroundJob/Daily.php:22–31  ·  view source on GitHub ↗
(ITimeFactory $time,
                                LoggerInterface $logger,
                                DataloadService $DataloadService
    )

Source from the content-addressed store, hash-verified

20 private $DataloadService;
21
22 public function __construct(ITimeFactory $time,
23 LoggerInterface $logger,
24 DataloadService $DataloadService
25 )
26 {
27 parent::__construct($time);
28 $this->setInterval((60 * 60 * 24) - 120); // 2 minutes because exact times would drift to the next cron execution
29 $this->logger = $logger;
30 $this->DataloadService = $DataloadService;
31 }
32
33 public function run($arguments)
34 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected