1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00
invoiceninja/app/Console/Commands/TestOFX.php
2019-09-12 19:30:10 -04:00

45 lines
779 B
PHP

<?php
namespace App\Console\Commands;
use App\Services\BankAccountService;
use Illuminate\Console\Command;
/**
* Class TestOFX.
*/
class TestOFX extends Command
{
/**
* @var string
*/
protected $name = 'ninja:test-ofx';
/**
* @var string
*/
protected $description = 'Test OFX';
/**
* @var BankAccountService
*/
protected $bankAccountService;
/**
* TestOFX constructor.
*
* @param BankAccountService $bankAccountService
*/
public function __construct(BankAccountService $bankAccountService)
{
parent::__construct();
$this->bankAccountService = $bankAccountService;
}
public function handle()
{
$this->info(date('r').' Running TestOFX...');
}
}