for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace EasyIM\TencentIM\Kernel\OfflinePushInfo;
use EasyIM\Kernel\Parameter;
/**
* Class ApnsInfo
*
* @package EasyIM\TencentIM\Kernel\OfflinePushInfo
* @author longing <[email protected]>
*/
class ApnsInfo extends Parameter
{
* @var string[]
protected $properties = [
'Sound',
'BadgeMode',
'Title',
'SubTitle',
'Image'
];
* @param string $value
* @return $this
public function setSound(string $value)
$this->setAttribute('Sound', $value);
return $this;
}
* @param int $value
public function setBadgeMode(int $value)
$this->setAttribute('BadgeMode', $value);
public function setTitle(string $value)
$this->setAttribute('Title', $value);
public function setSubTitle(string $value)
$this->setAttribute('SubTitle', $value);
public function setImage(string $value)
$this->setAttribute('Image', $value);