mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 19:47:34 -05:00 
			
		
		
		
	* fix typo * php-cs traits * CS fixer pass * Password protect User routes * Implement checks to prevent editing a deleted record * Clean up payment flows * Fixes for tests
		
			
				
	
	
		
			17 lines
		
	
	
		
			377 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			377 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace App\Providers;
 | 
						|
 | 
						|
use App\Helpers\Mail\GmailTransportManager;
 | 
						|
use Illuminate\Mail\MailServiceProvider as MailProvider;
 | 
						|
 | 
						|
class MailServiceProvider extends MailProvider
 | 
						|
{
 | 
						|
    protected function registerSwiftTransport()
 | 
						|
    {
 | 
						|
        $this->app->singleton('swift.transport', function ($app) {
 | 
						|
            return new GmailTransportManager($app);
 | 
						|
        });
 | 
						|
    }
 | 
						|
}
 |