Scalr\Stats\CostAnalytics\Events\AbstractEvent::getUserEmail PHP Method

getUserEmail() public method

Gets email address of the user who fires an event
public getUserEmail ( ) : string
return string
    public function getUserEmail()
    {
        return $this->user ? $this->user->getEmail() : '[scalr]';
    }