<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/5/22
 * Time: 17:05
 */

namespace app\logic;

use app\pplus\Instance;
class Mypack
{
    use Instance ;

    public $fd;
    public $data;
    public $opcode=1;
    public $finish=1;

    public function  makeData($data,$fd=0,$opcode=1,$finish=1){
        $this->fd= $fd;
        $this->data = $data;
        $this->opcode = $opcode;
        $this->finish = $finish ;
        return  $this;
    }

}