PHP Class Rubenwouters\CrmLauncher\Updates\CheckActivity

Afficher le fichier Open project: rubenwouters/crm-launcher

Protected Properties

Свойство Type Description
$config Rubenwouters\CrmLauncher\Models\Message
$message Rubenwouters\CrmLauncher\Models\Message

Méthodes publiques

Méthode Description
__construct ( Message $message, Configuration $config )
isAboveMax ( ) : boolean Checks if number of todays messages are greater than max
sendNotifications ( ) : void Send mail to notify above average social media activity

Private Methods

Méthode Description
toggleSentNotification ( ) : void Remember that a notification is sent today

Method Details

__construct() public méthode

public __construct ( Message $message, Configuration $config )
$message Rubenwouters\CrmLauncher\Models\Message
$config Rubenwouters\CrmLauncher\Models\Configuration

isAboveMax() public méthode

Checks if number of todays messages are greater than max
public isAboveMax ( ) : boolean
Résultat boolean [description]

sendNotifications() public méthode

Send mail to notify above average social media activity
public sendNotifications ( ) : void
Résultat void

Property Details

$config protected_oe property

protected Message,Rubenwouters\CrmLauncher\Models $config
Résultat Rubenwouters\CrmLauncher\Models\Message

$message protected_oe property

protected Message,Rubenwouters\CrmLauncher\Models $message
Résultat Rubenwouters\CrmLauncher\Models\Message