<?php

namespace App\Service\Cron\UI;

/**
 * Establish communication between cron-jobs and the CLI output
 */
interface CronUIInterface
{
    /**
     * Print a simple line of text
     *
     * @param string $message
     */
    public function print(string $message): void;

    /**
     * Update the current progress of the task
     *
     * @param int $i
     * @param int $total
     */
    public function progress(int $i, int $total): void;
}
