PHP Class Scalr\Stats\CostAnalytics\Events\AbstractEvent

Since: 5.0
Author: Vlad Dobrovolskiy ([email protected])
Afficher le fichier Open project: scalr/scalr Class Usage Examples

Protected Properties

Свойство Type Description
$ccs array Cost Centers array
$environment Scalr_Environment Current environment
$message string Event message
$messageToHash string Message for hashing
$projects array Projects array
$timelineEvent Scalr\Stats\CostAnalytics\Entity\TimelineEventEntity Generated event
$user Scalr_Account_User User who fires an event

Méthodes publiques

Méthode Description
__construct ( ) Constructor
fire ( ) : boolean Fires an event
getUserEmail ( ) : string Gets email address of the user who fires an event

Private Methods

Méthode Description
callbackFilter ( mixed $value ) : boolean Filter identifiers callback

Method Details

__construct() public méthode

Constructor
public __construct ( )

fire() public méthode

Fires an event
public fire ( ) : boolean
Résultat boolean Returns true if a new record has been added

getUserEmail() public méthode

Gets email address of the user who fires an event
public getUserEmail ( ) : string
Résultat string

Property Details

$ccs protected_oe property

Cost Centers array
protected array $ccs
Résultat array

$environment protected_oe property

Current environment
protected Scalr_Environment $environment
Résultat Scalr_Environment

$message protected_oe property

Event message
protected string $message
Résultat string

$messageToHash protected_oe property

Message for hashing
protected string $messageToHash
Résultat string

$projects protected_oe property

Projects array
protected array $projects
Résultat array

$timelineEvent protected_oe property

Generated event
protected TimelineEventEntity,Scalr\Stats\CostAnalytics\Entity $timelineEvent
Résultat Scalr\Stats\CostAnalytics\Entity\TimelineEventEntity

$user protected_oe property

User who fires an event
protected Scalr_Account_User $user
Résultat Scalr_Account_User