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

        $result->setEventKey($data['EventKey']);

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

        $result->setEventKey($data['EventKey']);

        return $result;
    }
protected function createViewEvent ( array $ data ) { $ result = new WxReceiveViewEvent ( ) ; $ this -> initReceive ( $ result , $ data ) ; $ result -> setEventKey ( $ data [ 'EventKey' ] ) ; return $ result ; }
create WxReceiveViewEvent instance

@param array $data
@return WxReceiveViewEvent
create WxReceiveViewEvent instance