2 declare(strict_types
= 1);
3 namespace TYPO3\CMS\Form\Domain\Model\Renderable
;
6 * This file is part of the TYPO3 CMS project.
8 * It originated from the Neos.Form package (www.neos.io)
10 * It is free software; you can redistribute it and/or modify it under
11 * the terms of the GNU General Public License, either version 2
12 * of the License, or any later version.
14 * For the full copyright and license information, please read the
15 * LICENSE.txt file that was distributed with this source code.
17 * The TYPO3 project - inspiring people to share!
22 * **This class is NOT meant to be sub classed by developers.**
24 interface VariableRenderableInterface
28 * Set multiple properties of this object at once.
29 * Every property which has a corresponding set* method can be set using
30 * the passed $options array.
32 * @param array $options
36 public function setOptions(array $options, bool
$reset = false
);
39 * Get all rendering variants
41 * @return RenderableVariantInterface[]
44 public function getVariants(): array;
47 * Adds the specified variant to this form element
49 * @param RenderableVariantInterface $variant
52 public function addVariant(RenderableVariantInterface
$variant);