<?php

declare(strict_types=1);

namespace NoahVet\Reef\RabbitMQ\Task\Executor;

use NoahVet\Reef\RabbitMQ\Task\ConsoleCommandTask;
use Symfony\Component\Console\Output\OutputInterface;

interface ConsoleCommandTaskExecutorInterface
{
    public function execute(ConsoleCommandTask $task, ?OutputInterface $output = null): int;
}
