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\CommonPayloadInterface;
/**
* AbstractCommonNotificationPayload.
* @author Artem Henvald <[email protected]>
abstract class AbstractCommonNotificationPayload implements CommonPayloadInterface
{
/** @var string */
private $title = '';
private $body = '';
private $clickAction = '';
* @param string $title
* @return $this
public function setTitle(string $title): self
$this->title = $title;
return $this;
}
* @return string
public function getTitle(): string
return $this->title;
* @param string $body
public function setBody(string $body): self
$this->body = $body;
public function getBody(): string
return $this->body;
* @param string $clickAction
public function setClickAction(string $clickAction): self
$this->clickAction = $clickAction;
public function getClickAction(): string
return $this->clickAction;