Documentation

NotificationSettings
in package
implements JsonSerializable

Table of Contents

Interfaces

JsonSerializable

Properties

$email  : string
$id  : int
$newReportsAvailable  : bool
$noDataReceived  : bool
$qualityControlDone  : bool
$thresholdAlmostReached  : bool
$thresholdIsReached  : bool
$tooManyUnreadNotifications  : bool
$userId  : int
$yearlyEntriesAdded  : bool

Methods

fromEntity()  : self
fromRequest()  : void
getEmail()  : string
Get the value of User Email
getId()  : int|null
Get the value of Id
getNewReportsAvailable()  : bool
Get the value of New Reports Available
getNoDataReceived()  : bool
getQualityControlDone()  : bool
getThresholdAlmostReached()  : bool
Get the value of Threshold Almost Reached
getThresholdIsReached()  : bool
Get the value of Threshold Is Reached
getTooManyUnreadNotifications()  : bool
Get the value of Too Many Unread Notifications
getUserId()  : int
Get the value of User Id
getYearlyEntriesAdded()  : bool
jsonSerialize()  : mixed
setEmail()  : self
Set the value of User Email
setId()  : self
Set the value of Id
setNewReportsAvailable()  : self
Set the value of New Reports Available
setNoDataReceived()  : self
setQualityControlDone()  : self
setThresholdAlmostReached()  : self
Set the value of Threshold Almost Reached
setThresholdIsReached()  : self
Set the value of Threshold Is Reached
setTooManyUnreadNotifications()  : self
Set the value of Too Many Unread Notifications
setUserId()  : self
Set the value of User Id
setYearlyEntriesAdded()  : self
toEntity()  : NotificationSettings
toValidatorArray()  : array<string|int, mixed>

Properties

Methods

fromRequest()

public fromRequest(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>

getNewReportsAvailable()

Get the value of New Reports Available

public getNewReportsAvailable() : bool
Return values
bool

getThresholdAlmostReached()

Get the value of Threshold Almost Reached

public getThresholdAlmostReached() : bool
Return values
bool

getThresholdIsReached()

Get the value of Threshold Is Reached

public getThresholdIsReached() : bool
Return values
bool

getTooManyUnreadNotifications()

Get the value of Too Many Unread Notifications

public getTooManyUnreadNotifications() : bool
Return values
bool

setEmail()

Set the value of User Email

public setEmail(string $email) : self
Parameters
$email : string
Return values
self

setId()

Set the value of Id

public setId(null|int $id) : self
Parameters
$id : null|int
Return values
self

setNewReportsAvailable()

Set the value of New Reports Available

public setNewReportsAvailable(bool $newReportsAvailable) : self
Parameters
$newReportsAvailable : bool
Return values
self

setNoDataReceived()

public setNoDataReceived(bool $noDataReceived) : self
Parameters
$noDataReceived : bool
Return values
self

setQualityControlDone()

public setQualityControlDone(bool $qualityControlDone) : self
Parameters
$qualityControlDone : bool
Return values
self

setThresholdAlmostReached()

Set the value of Threshold Almost Reached

public setThresholdAlmostReached(bool $thresholdAlmostReached) : self
Parameters
$thresholdAlmostReached : bool
Return values
self

setThresholdIsReached()

Set the value of Threshold Is Reached

public setThresholdIsReached(bool $thresholdIsReached) : self
Parameters
$thresholdIsReached : bool
Return values
self

setTooManyUnreadNotifications()

Set the value of Too Many Unread Notifications

public setTooManyUnreadNotifications(bool $tooManyUnreadNotifications) : self
Parameters
$tooManyUnreadNotifications : bool
Return values
self

setUserId()

Set the value of User Id

public setUserId(int $userId) : self
Parameters
$userId : int
Return values
self

setYearlyEntriesAdded()

public setYearlyEntriesAdded(bool $yearlyEntriesAdded) : self
Parameters
$yearlyEntriesAdded : bool
Return values
self

toValidatorArray()

public toValidatorArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results