Make Serializer_XML::_serialize protected

This commit is contained in:
nikic 2012-04-19 00:25:13 +02:00
parent a45360ccaf
commit e2a9745bf1

View File

@ -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());