mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-06 06:57:25 +02:00
cs AbstractFactory
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user