We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdf8c49 commit 0da15deCopy full SHA for 0da15de
Structural/Decorator/RendererDecorator.php
@@ -3,11 +3,11 @@
3
namespace DesignPatterns\Structural\Decorator;
4
5
/**
6
- * the Decorator MUST implement the RendererInterface contract, this is the key-feature
+ * the Decorator MUST implement the RenderableInterface contract, this is the key-feature
7
* of this design pattern. If not, this is no longer a Decorator but just a dumb
8
* wrapper.
9
*/
10
-abstract class RendererDecorator
+abstract class RendererDecorator implements RenderableInterface
11
{
12
13
* @var RenderableInterface
0 commit comments