View file vendor/visavi/crontask/src/Crontask/Interfaces/TaskInterface.php

File size: 406B
<?php

namespace Crontask\Interfaces;

interface TaskInterface
{
    /**
     * Run task
     */
    public function run();

    /**
     * Gets the current cron expression
     */
    public function getExpression();

    /**
     * Gets the output from the task
     */
    public function getOutput();

    /**
     * Checks whether the task is currently due
     */
    public function isRequired();
}