| 1 | <?php |
||
| 15 | class RenderableClosure extends AbstractRenderable |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var \Closure |
||
| 19 | */ |
||
| 20 | protected $closure; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param \Closure $closure |
||
| 24 | * @return RenderableClosure |
||
| 25 | */ |
||
| 26 | public function setClosure(\Closure $closure) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param RenderingContextInterface $renderingContext |
||
| 34 | * @return mixed |
||
| 35 | */ |
||
| 36 | public function render(RenderingContextInterface $renderingContext) |
||
| 40 | } |
||
| 41 |