PHP Class App\Http\Controllers\NinjaController

Inheritance: extends BaseController
ファイルを表示 Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$accountRepo App\Ninja\Repositories\AccountRepository
$contactMailer App\Ninja\Mailers\ContactMailer

Public Methods

Method Description
__construct ( AccountRepository $accountRepo, ContactMailer $contactMailer ) NinjaController constructor.
claim_license ( ) : string
do_license_payment ( ) : Illuminate\Contracts\View\View
show_license_payment ( )

Private Methods

Method Description
error ( $type, $error, $accountGateway = false, $exception = false )
getLicensePaymentDetails ( array $input, Affiliate $affiliate ) : array

Method Details

__construct() public method

NinjaController constructor.
public __construct ( AccountRepository $accountRepo, ContactMailer $contactMailer )
$accountRepo App\Ninja\Repositories\AccountRepository
$contactMailer App\Ninja\Mailers\ContactMailer

claim_license() public method

public claim_license ( ) : string
return string

do_license_payment() public method

public do_license_payment ( ) : Illuminate\Contracts\View\View
return Illuminate\Contracts\View\View

show_license_payment() public method

Property Details

$accountRepo protected_oe property

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

$contactMailer protected_oe property

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