changing interface to improve rendering

This commit is contained in:
Trismegiste
2013-05-11 01:24:40 +02:00
parent f76b8b1ab3
commit 007a2d6171
4 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ namespace DesignPatterns\Composite;
class TextElement extends FormElement
{
public function render()
public function render($indent = 0)
{
return 'this is a text element';
}