BackupHasFailed
extends BaseNotification
in package
Table of Contents
- $id : string
- The unique identifier for the notification.
- $event : BackupHasFailed
- __sleep() : array<string|int, mixed>
- Prepare the instance for serialization.
- __wakeup() : void
- Restore the model after serialization.
- applicationName() : string
- backupDestination() : BackupDestination|null
- backupName() : string
- broadcastOn() : array<string|int, mixed>
- Get the channels the event should broadcast on.
- diskName() : string
- setEvent() : mixed
- toMail() : MailMessage
- toSlack() : SlackMessage
- via() : array<string|int, mixed>
- backupDestinationProperties() : Collection
- getPropertyValue() : mixed
- Get the property value for the given property.
Properties
$id
The unique identifier for the notification.
public
string
$id
$event
protected
BackupHasFailed
$event
Methods
__sleep()
Prepare the instance for serialization.
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed> —__wakeup()
Restore the model after serialization.
public
__wakeup() : void
Return values
void —applicationName()
public
applicationName() : string
Return values
string —backupDestination()
public
backupDestination() : BackupDestination|null
Return values
BackupDestination|null —backupName()
public
backupName() : string
Return values
string —broadcastOn()
Get the channels the event should broadcast on.
public
broadcastOn() : array<string|int, mixed>
Return values
array<string|int, mixed> —diskName()
public
diskName() : string
Return values
string —setEvent()
public
setEvent(BackupHasFailed $event) : mixed
Parameters
- $event : BackupHasFailed
Return values
mixed —toMail()
public
toMail() : MailMessage
Return values
MailMessage —toSlack()
public
toSlack() : SlackMessage
Return values
SlackMessage —via()
public
via() : array<string|int, mixed>
Return values
array<string|int, mixed> —backupDestinationProperties()
protected
backupDestinationProperties() : Collection
Return values
Collection —getPropertyValue()
Get the property value for the given property.
protected
getPropertyValue(ReflectionProperty $property) : mixed
Parameters
- $property : ReflectionProperty