invoiceninja/app/Console/Commands/TestOFX.php

45 lines
779 B
PHP
Raw Normal View History

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