fix PSR-0

This commit is contained in:
Trismegiste
2013-05-11 02:50:05 +02:00
parent cfa9014906
commit 55017fb43f
5 changed files with 56 additions and 46 deletions

View File

@@ -0,0 +1,12 @@
<?php
namespace DesignPatterns\Decorator;
class RenderInJson extends Decorator
{
public function renderData()
{
$output = $this->_wrapped->renderData();
return json_encode($output);
}
}