function parseBody(Body $data) {
$type = $this->getType();
if (static::registered($type)) {
return call_user_func(self::$types[$type], $data, $type);
}
function parseBody(Body $data) {
$type = $this->getType();
if (static::registered($type)) {
return call_user_func(self::$types[$type], $data, $type);
}