| 1 | <?php |
||
| 16 | abstract class AbstractRenderable implements RenderableInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $name; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var NodeInterface |
||
| 25 | */ |
||
| 26 | protected $node; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | public function getName() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param string $name |
||
| 38 | * @return RenderableClosure |
||
| 39 | */ |
||
| 40 | public function setName($name) |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @param NodeInterface $node |
||
| 48 | * @return RenderableClosure |
||
| 49 | */ |
||
| 50 | public function setNode(NodeInterface $node) |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return NodeInterface |
||
| 58 | */ |
||
| 59 | public function getNode() |
||
| 63 | } |
||
| 64 |