src/Event/Parser.php
protected function createScanEvent(array $data)
    {
        $result = new WxReceiveScanEvent();
        $this->initReceive($result, $data);

        $result->setEvent($data['Event']);
        $result->setEventKey($data['EventKey']);
        $result->setTicket($data['Ticket']);

        return $result;
    }
protected function createScanEvent(array $data)
    {
        $result = new WxReceiveScanEvent();
        $this->initReceive($result, $data);

        $result->setEvent($data['Event']);
        $result->setEventKey($data['EventKey']);
        $result->setTicket($data['Ticket']);

        return $result;
    }
protected function createScanEvent ( array $ data ) { $ result = new WxReceiveScanEvent ( ) ; $ this -> initReceive ( $ result , $ data ) ; $ result -> setEvent ( $ data [ 'Event' ] ) ; $ result -> setEventKey ( $ data [ 'EventKey' ] ) ; $ result -> setTicket ( $ data [ 'Ticket' ] ) ; return $ result ; }
create WxReceiveScanEvent instance
@param array $data
@return WxReceiveScanEvent
create WxReceiveScanEvent instance