mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-27 04:24:43 +01:00
Make Serializer_XML::_serialize protected
This commit is contained in:
parent
a45360ccaf
commit
e2a9745bf1
@ -29,7 +29,7 @@ class PHPParser_Serializer_XML implements PHPParser_Serializer
|
||||
return $this->writer->outputMemory();
|
||||
}
|
||||
|
||||
public function _serialize($node) {
|
||||
protected function _serialize($node) {
|
||||
if ($node instanceof PHPParser_Node) {
|
||||
$this->writer->startElement('node:' . $node->getType());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user