We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bdf8c49 + 0da15de commit 138bdb2Copy full SHA for 138bdb2
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