mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-01 20:50:15 +02:00
@@ -59,7 +59,7 @@ class RenderInXml extends Decorator implements Renderer
|
|||||||
public function renderData()
|
public function renderData()
|
||||||
{
|
{
|
||||||
$output = $this->_wrapped->renderData();
|
$output = $this->_wrapped->renderData();
|
||||||
// do some fany conversion to xml from array ...
|
// do some fancy conversion to xml from array ...
|
||||||
return simplexml_load_string($output);
|
return simplexml_load_string($output);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user