feat: apply parse method if filter is present
This commit is contained in:
parent
cebd016282
commit
c508657a50
|
@ -293,6 +293,10 @@ class Response extends SwooleResponse
|
|||
}
|
||||
|
||||
$item = $this->output($item, $rule['type']);
|
||||
// If filter is set, parse the item
|
||||
if(self::isFilter()){
|
||||
$item = self::getFilter()->parse($item, $rule['type']);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue