public function transform()
    {
        $handle = sprintf('transform%s', ucfirst($this->msgType));

        return method_exists($this, $handle) ? $this->$handle($this->message) : [];
    }
public function transform()
    {
        $handle = sprintf('transform%s', ucfirst($this->msgType));

        return method_exists($this, $handle) ? $this->$handle($this->message) : [];
    }
public function transform ( ) { $ handle = sprintf ( 'transform%s' , ucfirst ( $ this -> msgType ) ) ; return method_exists ( $ this , $ handle ) ? $ this -> $ handle ( $ this -> message ) : [ ] ; }
Transform message.

@return array
Transform message .