1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00
invoiceninja/app/Console/Commands/TestOFX.php

42 lines
778 B
PHP
Raw Normal View History

2016-05-01 13:31:10 +02:00
<?php namespace App\Console\Commands;
2016-01-20 00:07:31 +01:00
use Illuminate\Console\Command;
use App\Services\BankAccountService;
/**
* Class TestOFX
*/
2016-01-20 00:07:31 +01:00
class TestOFX extends Command
{
/**
* @var string
*/
2016-01-20 00:07:31 +01:00
protected $name = 'ninja:test-ofx';
/**
* @var string
*/
2016-01-20 00:07:31 +01:00
protected $description = 'Test OFX';
/**
* @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;
}
public function fire()
{
$this->info(date('Y-m-d').' Running TestOFX...');
}
}