PHP Class App\Http\Controllers\PaymentController

Inheritance: extends BaseController
Afficher le fichier Open project: hillelcoren/invoice-ninja

Protected Properties

Свойство Type Description
$contactMailer App\Ninja\Mailers\ContactMailer
$entityType string
$paymentRepo App\Ninja\Repositories\PaymentRepository
$paymentService App\services\PaymentService

Méthodes publiques

Méthode Description
__construct ( PaymentRepository $paymentRepo, ContactMailer $contactMailer, PaymentService $paymentService ) PaymentController constructor.
bulk ( ) : mixed
create ( App\Http\Requests\PaymentRequest $request ) : Illuminate\Contracts\View\View
edit ( App\Http\Requests\PaymentRequest $request ) : Illuminate\Contracts\View\View
getDatatable ( null $clientPublicId = null ) : Illuminate\Http\JsonResponse
index ( ) : Illuminate\Contracts\View\View
show ( $publicId ) : Illuminate\Http\RedirectResponse
store ( CreatePaymentRequest $request ) : Illuminate\Http\RedirectResponse
update ( App\Http\Requests\UpdatePaymentRequest $request ) : Illuminate\Http\RedirectResponse

Method Details

__construct() public méthode

PaymentController constructor.
public __construct ( PaymentRepository $paymentRepo, ContactMailer $contactMailer, PaymentService $paymentService )
$paymentRepo App\Ninja\Repositories\PaymentRepository
$contactMailer App\Ninja\Mailers\ContactMailer
$paymentService App\services\PaymentService

bulk() public méthode

public bulk ( ) : mixed
Résultat mixed

create() public méthode

public create ( App\Http\Requests\PaymentRequest $request ) : Illuminate\Contracts\View\View
$request App\Http\Requests\PaymentRequest
Résultat Illuminate\Contracts\View\View

edit() public méthode

public edit ( App\Http\Requests\PaymentRequest $request ) : Illuminate\Contracts\View\View
$request App\Http\Requests\PaymentRequest
Résultat Illuminate\Contracts\View\View

getDatatable() public méthode

public getDatatable ( null $clientPublicId = null ) : Illuminate\Http\JsonResponse
$clientPublicId null
Résultat Illuminate\Http\JsonResponse

index() public méthode

public index ( ) : Illuminate\Contracts\View\View
Résultat Illuminate\Contracts\View\View

show() public méthode

public show ( $publicId ) : Illuminate\Http\RedirectResponse
$publicId
Résultat Illuminate\Http\RedirectResponse

store() public méthode

public store ( CreatePaymentRequest $request ) : Illuminate\Http\RedirectResponse
$request App\Http\Requests\CreatePaymentRequest
Résultat Illuminate\Http\RedirectResponse

update() public méthode

public update ( App\Http\Requests\UpdatePaymentRequest $request ) : Illuminate\Http\RedirectResponse
$request App\Http\Requests\UpdatePaymentRequest
Résultat Illuminate\Http\RedirectResponse

Property Details

$contactMailer protected_oe property

protected ContactMailer,App\Ninja\Mailers $contactMailer
Résultat App\Ninja\Mailers\ContactMailer

$entityType protected_oe property

protected string $entityType
Résultat string

$paymentRepo protected_oe property

protected PaymentRepository,App\Ninja\Repositories $paymentRepo
Résultat App\Ninja\Repositories\PaymentRepository

$paymentService protected_oe property

protected PaymentService,App\Services $paymentService
Résultat App\services\PaymentService