trait CanNotify (View source)

Properties

protected Notification|Closure|null $failureNotification
protected Notification|Closure|null $successNotification
protected string|Closure|null $failureNotificationTitle
protected string|Closure|null $successNotificationTitle

Methods

failureNotification(Notification|Closure|null $notification)

No description

failureNotificationMessage(string|Closure|null $message) deprecated

No description

failureNotificationTitle(string|Closure|null $title)

No description

successNotification(Notification|Closure|null $notification)

No description

successNotificationMessage(string|Closure|null $message) deprecated

No description

successNotificationTitle(string|Closure|null $title)

No description

string|null
getSuccessNotificationTitle()

No description

string|null
getFailureNotificationTitle()

No description

Details

CanNotify sendFailureNotification()

No description

Return Value

CanNotify

CanNotify failureNotification(Notification|Closure|null $notification)

No description

Parameters

Notification|Closure|null $notification

Return Value

CanNotify

CanNotify failureNotificationMessage(string|Closure|null $message) deprecated

deprecated Use `failureNotificationTitle()` instead.

No description

Parameters

string|Closure|null $message

Return Value

CanNotify

CanNotify failureNotificationTitle(string|Closure|null $title)

No description

Parameters

string|Closure|null $title

Return Value

CanNotify

CanNotify sendSuccessNotification()

No description

Return Value

CanNotify

CanNotify successNotification(Notification|Closure|null $notification)

No description

Parameters

Notification|Closure|null $notification

Return Value

CanNotify

CanNotify successNotificationMessage(string|Closure|null $message) deprecated

deprecated Use `successNotificationTitle()` instead.

No description

Parameters

string|Closure|null $message

Return Value

CanNotify

CanNotify successNotificationTitle(string|Closure|null $title)

No description

Parameters

string|Closure|null $title

Return Value

CanNotify

string|null getSuccessNotificationTitle()

No description

Return Value

string|null

string|null getFailureNotificationTitle()

No description

Return Value

string|null