PHP Class App\Listeners\CreditListener

Show file Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$creditRepo App\Ninja\Repositories\CreditRepository

Public Methods

Method Description
__construct ( CreditRepository $creditRepo ) CreditListener constructor.
deletedPayment ( PaymentWasDeleted $event )
refundedPayment ( PaymentWasRefunded $event )

Method Details

__construct() public method

CreditListener constructor.
public __construct ( CreditRepository $creditRepo )
$creditRepo App\Ninja\Repositories\CreditRepository

deletedPayment() public method

public deletedPayment ( PaymentWasDeleted $event )
$event App\Events\PaymentWasDeleted

refundedPayment() public method

public refundedPayment ( PaymentWasRefunded $event )
$event App\Events\PaymentWasRefunded

Property Details

$creditRepo protected property

protected CreditRepository,App\Ninja\Repositories $creditRepo
return App\Ninja\Repositories\CreditRepository