PHP Class App\Listeners\ActivityListener

Mostra file Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$activityRepo App\Ninja\Repositories\ActivityRepository

Public Methods

Method Description
__construct ( ActivityRepository $activityRepo ) ActivityListener constructor.
approvedQuote ( QuoteInvitationWasApproved $event )
archivedClient ( ClientWasArchived $event )
archivedCredit ( CreditWasArchived $event )
archivedExpense ( ExpenseWasArchived $event )
archivedInvoice ( InvoiceWasArchived $event )
archivedPayment ( PaymentWasArchived $event )
archivedQuote ( QuoteWasArchived $event )
archivedTask ( TaskWasArchived $event )
createdClient ( ClientWasCreated $event )
createdCredit ( App\Events\CreditWasCreated $event )
createdExpense ( ExpenseWasCreated $event )
createdInvoice ( InvoiceWasCreated $event )
createdPayment ( PaymentWasCreated $event )
createdQuote ( QuoteWasCreated $event )
createdTask ( TaskWasCreated $event ) Creates an activity when a task was created
deletedClient ( ClientWasDeleted $event )
deletedCredit ( CreditWasDeleted $event )
deletedExpense ( ExpenseWasDeleted $event )
deletedInvoice ( InvoiceWasDeleted $event )
deletedPayment ( PaymentWasDeleted $event )
deletedQuote ( QuoteWasDeleted $event )
deletedTask ( TaskWasDeleted $event )
emailedInvoice ( InvoiceInvitationWasEmailed $event )
emailedQuote ( QuoteInvitationWasEmailed $event )
failedPayment ( PaymentFailed $event )
refundedPayment ( PaymentWasRefunded $event )
restoredClient ( ClientWasRestored $event )
restoredCredit ( CreditWasRestored $event )
restoredExpense ( ExpenseWasRestored $event )
restoredInvoice ( InvoiceWasRestored $event )
restoredPayment ( PaymentWasRestored $event )
restoredQuote ( QuoteWasRestored $event )
restoredTask ( TaskWasRestored $event )
updatedExpense ( ExpenseWasUpdated $event )
updatedInvoice ( InvoiceWasUpdated $event )
updatedQuote ( QuoteWasUpdated $event )
updatedTask ( TaskWasUpdated $event ) Creates an activity when a task was updated
viewedInvoice ( InvoiceInvitationWasViewed $event )
viewedQuote ( QuoteInvitationWasViewed $event )
voidedPayment ( PaymentWasVoided $event )

Method Details

__construct() public method

ActivityListener constructor.
public __construct ( ActivityRepository $activityRepo )
$activityRepo App\Ninja\Repositories\ActivityRepository

approvedQuote() public method

public approvedQuote ( QuoteInvitationWasApproved $event )
$event App\Events\QuoteInvitationWasApproved

archivedClient() public method

public archivedClient ( ClientWasArchived $event )
$event App\Events\ClientWasArchived

archivedCredit() public method

public archivedCredit ( CreditWasArchived $event )
$event App\Events\CreditWasArchived

archivedExpense() public method

public archivedExpense ( ExpenseWasArchived $event )
$event App\Events\ExpenseWasArchived

archivedInvoice() public method

public archivedInvoice ( InvoiceWasArchived $event )
$event App\Events\InvoiceWasArchived

archivedPayment() public method

public archivedPayment ( PaymentWasArchived $event )
$event App\Events\PaymentWasArchived

archivedQuote() public method

public archivedQuote ( QuoteWasArchived $event )
$event App\Events\QuoteWasArchived

archivedTask() public method

public archivedTask ( TaskWasArchived $event )
$event App\Events\TaskWasArchived

createdClient() public method

public createdClient ( ClientWasCreated $event )
$event App\Events\ClientWasCreated

createdCredit() public method

public createdCredit ( App\Events\CreditWasCreated $event )
$event App\Events\CreditWasCreated

createdExpense() public method

public createdExpense ( ExpenseWasCreated $event )
$event App\Events\ExpenseWasCreated

createdInvoice() public method

public createdInvoice ( InvoiceWasCreated $event )
$event App\Events\InvoiceWasCreated

createdPayment() public method

public createdPayment ( PaymentWasCreated $event )
$event App\Events\PaymentWasCreated

createdQuote() public method

public createdQuote ( QuoteWasCreated $event )
$event App\Events\QuoteWasCreated

createdTask() public method

Creates an activity when a task was created
public createdTask ( TaskWasCreated $event )
$event App\Events\TaskWasCreated

deletedClient() public method

public deletedClient ( ClientWasDeleted $event )
$event App\Events\ClientWasDeleted

deletedCredit() public method

public deletedCredit ( CreditWasDeleted $event )
$event App\Events\CreditWasDeleted

deletedExpense() public method

public deletedExpense ( ExpenseWasDeleted $event )
$event App\Events\ExpenseWasDeleted

deletedInvoice() public method

public deletedInvoice ( InvoiceWasDeleted $event )
$event App\Events\InvoiceWasDeleted

deletedPayment() public method

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

deletedQuote() public method

public deletedQuote ( QuoteWasDeleted $event )
$event App\Events\QuoteWasDeleted

deletedTask() public method

public deletedTask ( TaskWasDeleted $event )
$event App\Events\TaskWasDeleted

emailedInvoice() public method

public emailedInvoice ( InvoiceInvitationWasEmailed $event )
$event App\Events\InvoiceInvitationWasEmailed

emailedQuote() public method

public emailedQuote ( QuoteInvitationWasEmailed $event )
$event App\Events\QuoteInvitationWasEmailed

failedPayment() public method

public failedPayment ( PaymentFailed $event )
$event App\Events\PaymentFailed

refundedPayment() public method

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

restoredClient() public method

public restoredClient ( ClientWasRestored $event )
$event App\Events\ClientWasRestored

restoredCredit() public method

public restoredCredit ( CreditWasRestored $event )
$event App\Events\CreditWasRestored

restoredExpense() public method

public restoredExpense ( ExpenseWasRestored $event )
$event App\Events\ExpenseWasRestored

restoredInvoice() public method

public restoredInvoice ( InvoiceWasRestored $event )
$event App\Events\InvoiceWasRestored

restoredPayment() public method

public restoredPayment ( PaymentWasRestored $event )
$event App\Events\PaymentWasRestored

restoredQuote() public method

public restoredQuote ( QuoteWasRestored $event )
$event App\Events\QuoteWasRestored

restoredTask() public method

public restoredTask ( TaskWasRestored $event )
$event App\Events\TaskWasRestored

updatedExpense() public method

public updatedExpense ( ExpenseWasUpdated $event )
$event App\Events\ExpenseWasUpdated

updatedInvoice() public method

public updatedInvoice ( InvoiceWasUpdated $event )
$event App\Events\InvoiceWasUpdated

updatedQuote() public method

public updatedQuote ( QuoteWasUpdated $event )
$event App\Events\QuoteWasUpdated

updatedTask() public method

Creates an activity when a task was updated
public updatedTask ( TaskWasUpdated $event )
$event App\Events\TaskWasUpdated

viewedInvoice() public method

public viewedInvoice ( InvoiceInvitationWasViewed $event )
$event App\Events\InvoiceInvitationWasViewed

viewedQuote() public method

public viewedQuote ( QuoteInvitationWasViewed $event )
$event App\Events\QuoteInvitationWasViewed

voidedPayment() public method

public voidedPayment ( PaymentWasVoided $event )
$event App\Events\PaymentWasVoided

Property Details

$activityRepo protected_oe property

protected ActivityRepository,App\Ninja\Repositories $activityRepo
return App\Ninja\Repositories\ActivityRepository