RedPacket.php
432 Bytes
<?php
/**
* Created by PhpStorm.
* User: Hanson
* Date: 2017/1/15
* Time: 12:29
*/
namespace Hanson\Vbot\Message\Entity;
use Hanson\Vbot\Message\MessageInterface;
class RedPacket extends Message implements MessageInterface
{
public function __construct($msg)
{
parent::__construct($msg);
$this->make();
}
public function make()
{
$this->content = $this->msg['Content'];
}
}