[TASK] Sync CMS Fluid with Flow Fluid 1.1 (part1)
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid / Classes / Core / Parser / SyntaxTree / RenderingContextAwareInterface.php
1 <?php
2 namespace TYPO3\CMS\Fluid\Core\Parser\SyntaxTree;
3
4 /* *
5 * This script is backported from the TYPO3 Flow package "TYPO3.Fluid". *
6 * *
7 * It is free software; you can redistribute it and/or modify it under *
8 * the terms of the GNU Lesser General Public License, either version 3 *
9 * of the License, or (at your option) any later version. *
10 * *
11 * The TYPO3 project - inspiring people to share! *
12 * */
13
14 /**
15 * Interface for objects which are aware of Fluid's rendering context. All objects
16 * marked with this interface will get the current rendering context injected
17 * by the ObjectAccessorNode on trying to evaluate them.
18 */
19 interface RenderingContextAwareInterface {
20
21 /**
22 * Sets the current rendering context
23 *
24 * @param \TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext
25 * @return void
26 */
27 public function setRenderingContext(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext);
28
29 }
30
31 ?>