getBadge() public method

Get Badge
public getBadge ( ) : null | String
return null | String
Ejemplo n.º 1
0
 /**
  * PayloadNotification constructor.
  *
  * @param PayloadNotificationBuilder $builder
  */
 public function __construct(PayloadNotificationBuilder $builder)
 {
     $this->title = $builder->getTitle();
     $this->body = $builder->getBody();
     $this->icon = $builder->getIcon();
     $this->sound = $builder->getSound();
     $this->badge = $builder->getBadge();
     $this->tag = $builder->getTag();
     $this->color = $builder->getColor();
     $this->clickAction = $builder->getClickAction();
     $this->bodyLocationKey = $builder->getBodyLocationKey();
     $this->bodyLocationArgs = $builder->getBodyLocationArgs();
     $this->titleLocationKey = $builder->getTitleLocationKey();
     $this->titleLocationArgs = $builder->getTitleLocationArgs();
 }