mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 07:27:32 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			45 lines
		
	
	
		
			781 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			781 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 fire()
 | 
						|
    {
 | 
						|
        $this->info(date('Y-m-d').' Running TestOFX...');
 | 
						|
    }
 | 
						|
}
 |