1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00
invoiceninja/app/Console/Commands/TestOFX.php
2016-07-21 15:35:23 +03:00

42 lines
778 B
PHP

<?php namespace App\Console\Commands;
use Illuminate\Console\Command;
use App\Services\BankAccountService;
/**
* 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 fire()
{
$this->info(date('Y-m-d').' Running TestOFX...');
}
}