2017-01-30 20:40:43 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Console\Commands;
|
2016-01-20 00:07:31 +01:00
|
|
|
|
|
|
|
use App\Services\BankAccountService;
|
2017-01-30 20:40:43 +01:00
|
|
|
use Illuminate\Console\Command;
|
2016-01-20 00:07:31 +01:00
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
/**
|
2017-01-30 20:40:43 +01:00
|
|
|
* Class TestOFX.
|
2016-07-03 18:11:58 +02:00
|
|
|
*/
|
2016-01-20 00:07:31 +01:00
|
|
|
class TestOFX extends Command
|
|
|
|
{
|
2016-07-03 18:11:58 +02:00
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2016-01-20 00:07:31 +01:00
|
|
|
protected $name = 'ninja:test-ofx';
|
2016-07-03 18:11:58 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2016-01-20 00:07:31 +01:00
|
|
|
protected $description = 'Test OFX';
|
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
/**
|
|
|
|
* @var BankAccountService
|
|
|
|
*/
|
|
|
|
protected $bankAccountService;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* TestOFX constructor.
|
|
|
|
*
|
|
|
|
* @param BankAccountService $bankAccountService
|
|
|
|
*/
|
2016-01-20 00:07:31 +01:00
|
|
|
public function __construct(BankAccountService $bankAccountService)
|
|
|
|
{
|
|
|
|
parent::__construct();
|
|
|
|
|
|
|
|
$this->bankAccountService = $bankAccountService;
|
|
|
|
}
|
|
|
|
|
2019-09-13 01:30:10 +02:00
|
|
|
public function handle()
|
2016-01-20 00:07:31 +01:00
|
|
|
{
|
2017-10-24 09:59:26 +02:00
|
|
|
$this->info(date('r').' Running TestOFX...');
|
2016-01-20 00:07:31 +01:00
|
|
|
}
|
2017-01-30 17:05:31 +01:00
|
|
|
}
|