cs AbstractFactory

This commit is contained in:
Dominik Liebler
2013-09-09 10:39:41 +02:00
parent 8c520c39c3
commit 3b7eb295c8
15 changed files with 39 additions and 52 deletions

View File

@@ -11,7 +11,6 @@ use DesignPatterns\AbstractFactory\Text as BaseText;
*/
class Text extends BaseText
{
/**
* some crude rendering from JSON output
*
@@ -19,7 +18,6 @@ class Text extends BaseText
*/
public function render()
{
return json_encode(array('content' => $this->_text));
return json_encode(array('content' => $this->text));
}
}