<?php

namespace KupShop\PohodaBundle\Command;

use KupShop\PohodaBundle\Utils\Exporters\InvoiceFromOrderExporter;
use Symfony\Component\Console\Command\Command;

class InvoiceFromOrder extends Command
{
    use CommandBase;
    protected static $defaultName = 'shop:pohoda-invoice-from-order';

    /**
     * @required
     */
    public function setOrdersExporter(InvoiceFromOrderExporter $invoiceFromOrderExporter)
    {
        $this->actionClass = $invoiceFromOrderExporter;
    }
}
