for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the FirebaseCloudMessagingBundle
*
* (c) Artem Henvald <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Fresh\FirebaseCloudMessagingBundle\Message\Part\Payload\Notification;
use Fresh\FirebaseCloudMessagingBundle\Message\Part\Payload\AndroidPayloadInterface;
/**
* AndroidNotificationPayload.
* @author Artem Henvald <[email protected]>
class AndroidNotificationPayload extends AbstractMobileNotificationPayload implements AndroidPayloadInterface
{
/** @var string */
private $icon;
private $tag;
private $color;
* @param string $icon
* @return $this
public function setIcon(string $icon): self
$this->icon = $icon;
return $this;
}
* @return string
public function getIcon(): string
return $this->icon;
* @param string $tag
public function setTag(string $tag): self
$this->tag = $tag;
public function getTag(): string
return $this->tag;
* @param string $color
public function setColor(string $color): self
$this->color = $color;
public function getColor(): string
return $this->color;