src/Staff/Transformer.php
public function transformCard(AbstractMessage $message)
    {
        $type = $message->getType();

        return [
                'msgtype' => $type,
                $type => [
                            'card_id' => $message->get('card_id'),
                            ],
               ];
    }
public function transformCard(AbstractMessage $message)
    {
        $type = $message->getType();

        return [
                'msgtype' => $type,
                $type => [
                            'card_id' => $message->get('card_id'),
                            ],
               ];
    }
public function transformCard ( AbstractMessage $ message ) { $ type = $ message -> getType ( ) ; return [ 'msgtype' => $ type , $ type => [ 'card_id' => $ message -> get ( 'card_id' ) , ] , ] ; }
Transform wxcard message.

@return array
Transform wxcard message .