PHP Class App\Console\Commands\ChargeRenewalInvoices

Inheritance: extends Illuminate\Console\Command
Show file Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$accountRepo App\Ninja\Repositories\AccountRepository
$description string
$mailer App\Ninja\Mailers\ContactMailer
$name string
$paymentService App\services\PaymentService

Public Methods

Method Description
__construct ( ContactMailer $mailer, AccountRepository $repo, PaymentService $paymentService ) ChargeRenewalInvoices constructor.
fire ( )

Protected Methods

Method Description
getArguments ( ) : array
getOptions ( ) : array

Method Details

__construct() public method

ChargeRenewalInvoices constructor.
public __construct ( ContactMailer $mailer, AccountRepository $repo, PaymentService $paymentService )
$mailer App\Ninja\Mailers\ContactMailer
$repo App\Ninja\Repositories\AccountRepository
$paymentService App\services\PaymentService

fire() public method

public fire ( )

getArguments() protected method

protected getArguments ( ) : array
return array

getOptions() protected method

protected getOptions ( ) : array
return array

Property Details

$accountRepo protected property

protected AccountRepository,App\Ninja\Repositories $accountRepo
return App\Ninja\Repositories\AccountRepository

$description protected property

protected string $description
return string

$mailer protected property

protected ContactMailer,App\Ninja\Mailers $mailer
return App\Ninja\Mailers\ContactMailer

$name protected property

protected string $name
return string

$paymentService protected property

protected PaymentService,App\Services $paymentService
return App\services\PaymentService