HEX
Server: LiteSpeed
System: Linux server019.our-control-panel.com 4.18.0-553.51.1.lve.1.el8.x86_64 #1 SMP Wed May 14 14:34:57 UTC 2025 x86_64
User: aashishs (1103)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /home/aashishs/animegrantha.com/wp-content/plugins/mailpoet/lib/Migrator/Logger.php
<?php declare(strict_types = 1);

namespace MailPoet\Migrator;

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


interface Logger {
  /** @param array{name: string, status: string, started_at: string|null, completed_at: string|null, retries: int|null, error: string|null}[] $status */
  public function logBefore(array $status): void;

  /** @param array{name: string, status: string, started_at: string|null, completed_at: string|null, retries: int|null, error: string|null} $migration */
  public function logMigrationStarted(array $migration): void;

  /** @param array{name: string, status: string, started_at: string|null, completed_at: string|null, retries: int|null, error: string|null} $migration */
  public function logMigrationCompleted(array $migration): void;

  public function logAfter(): void;
}