/**
* Character Parser Function
*
* @param object $parser Parser object.
* @param object $data The data.
*
* @return void
*
* @note This is public because its called externally.
* @since 1.7.0
*/
protected function _characterData($parser, $data)
{
$tag = $this->_getLastTag();
if (\in_array($tag, $this->updatecols)) {
$tag = strtolower($tag);
$this->currentUpdate->{$tag} .= $data;
}
if ($tag === 'PHP_MINIMUM') {
$this->currentUpdate->php_minimum = $data;
}
if ($tag === 'TAG') {
$this->currentUpdate->stability = $this->stabilityTagToInteger((string) $data);
}
}