<?php

namespace KupShop\PohodaBundle\Command;

use KupShop\PohodaBundle\Utils\Importers\InvoicesImporter;
use Symfony\Component\Console\Command\Command;

class InvoicesImportCommand extends command
{
    use CommandBase;
    protected static $defaultName = 'shop:pohoda-invoices-import';

    /**
     * @required
     */
    public function setInvoicesImport(InvoicesImporter $invoicesImport)
    {
        $invoicesImport->setInvoiceType(InvoicesImporter::TYPE_INVOICE);
        $this->actionClass = $invoicesImport;
    }
}
