Merge pull request #281 from eugenedan/patch-1

RendererDecorator implement RenderableInterface
This commit is contained in:
Dominik Liebler
2017-05-10 13:56:37 +02:00
committed by GitHub

View File

@@ -3,11 +3,11 @@
namespace DesignPatterns\Structural\Decorator;
/**
* the Decorator MUST implement the RendererInterface contract, this is the key-feature
* the Decorator MUST implement the RenderableInterface contract, this is the key-feature
* of this design pattern. If not, this is no longer a Decorator but just a dumb
* wrapper.
*/
abstract class RendererDecorator
abstract class RendererDecorator implements RenderableInterface
{
/**
* @var RenderableInterface