PHP 8.2.31
Preview: CronWorkerInterface.php Size: 939 B
/home/nshryvcy/himaltourism.com/wp-content/plugins/mailpoet/lib/Cron/CronWorkerInterface.php

<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing

namespace MailPoet\Cron;

if (!defined('ABSPATH')) exit;


use MailPoet\Entities\ScheduledTaskEntity;

interface CronWorkerInterface {
  /** @return string */
  public function getTaskType();

  /** @return bool */
  public function scheduleAutomatically();

  /** @return bool */
  public function supportsMultipleInstances();

  /** @return bool */
  public function checkProcessingRequirements();

  public function init();

  /**
   * @param ScheduledTaskEntity $task
   * @param float $timer
   * @return bool
   */
  public function prepareTaskStrategy(ScheduledTaskEntity $task, $timer);

  /**
   * @param ScheduledTaskEntity $task
   * @param float $timer
   * @return bool
   */
  public function processTaskStrategy(ScheduledTaskEntity $task, $timer);

  /** @return \DateTimeInterface */
  public function getNextRunDate();
}

Directory Contents

Dirs: 3 × Files: 10

Name Size Perms Modified Actions
- drwxr-xr-x 2023-04-04 05:35:40
Edit Download
Triggers DIR
- drwxr-xr-x 2023-04-04 05:35:40
Edit Download
Workers DIR
- drwxr-xr-x 2023-04-04 05:35:40
Edit Download
7.13 KB lrw-r--r-- 2023-04-04 05:35:40
Edit Download
1.71 KB lrw-r--r-- 2023-04-04 05:35:40
Edit Download
939 B lrw-r--r-- 2023-04-04 05:35:40
Edit Download
6.00 KB lrw-r--r-- 2023-04-04 05:35:40
Edit Download
2.99 KB lrw-r--r-- 2023-04-04 05:35:40
Edit Download
3.62 KB lrw-r--r-- 2023-04-04 05:35:40
Edit Download
2.04 KB lrw-r--r-- 2023-04-04 05:35:40
Edit Download
5.13 KB lrw-r--r-- 2023-04-04 05:35:40
Edit Download
0 B lrw-r--r-- 2023-04-04 05:35:40
Edit Download
1.36 KB lrw-r--r-- 2023-04-04 05:35:40
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).