for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace EasyIM\TencentIM\Sns\Parameter;
use EasyIM\Kernel\Parameter;
/**
* Class AddFriendParameter
*
* @package EasyIM\TencentIM\Sns\Parameter
* @author longing <[email protected]>
*/
class AddFriendParameter extends Parameter
{
* @var array
protected $properties = [
'To_Account',
'Remark',
'GroupName',
'AddSource',
'AddWording'
];
protected $required = ['AddSource', 'To_Account'];
* @param string $value
* @return $this
public function setToAccount(string $value)
$this->setAttribute('To_Account', $value);
return $this;
}
public function setRemark(string $value)
$this->setAttribute('Remark', $value);
* @param mixed $value
public function setGroupName($value)
$this->setAttribute('GroupName', $value);
public function setAddSource(string $value)
$this->setAttribute('AddSource', $value);
public function setAddWording(string $value)
$this->setAttribute('AddWording', $value);