1 | <?php |
||
25 | class Decorator extends AbstractDecorator |
||
26 | { |
||
27 | |||
28 | /** |
||
29 | * Renderer instance |
||
30 | * @var RendererInterface |
||
31 | */ |
||
32 | private $renderer = null; |
||
33 | |||
34 | /** |
||
35 | * Create decorator |
||
36 | * @param RendererInterface $renderer |
||
37 | */ |
||
38 | public function __construct(RendererInterface $renderer) |
||
44 | |||
45 | protected function init(DecoratorInterface $decorator) |
||
50 | |||
51 | protected function decorated() |
||
55 | |||
56 | } |
||
57 |