PSR-0 with tests

This commit is contained in:
Trismegiste
2013-05-11 01:17:22 +02:00
parent 5f457c2701
commit 6443fecebc
5 changed files with 56 additions and 27 deletions

11
Composite/TextElement.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
namespace DesignPatterns\Composite;
class TextElement extends FormElement
{
public function render()
{
return 'this is a text element';
}
}