| 1 | <?php | ||
| 23 | class Select extends AbstractInput implements | ||
| 24 | InputInterface, | ||
| 25 | ChoiceAwareElementInterface | ||
| 26 | { | ||
| 27 | |||
| 28 | /** | ||
| 29 | * ChoiceAwareElementInterface implementation methods | ||
| 30 | */ | ||
| 31 | use ChoiceAwareElementMethods; | ||
| 32 | |||
| 33 | /** | ||
| 34 | * @var string Renderer class | ||
| 35 | */ | ||
| 36 | protected $rendererClass = SelectRenderer::class; | ||
| 37 | |||
| 38 | /** | ||
| 39 | * Adds the value to the select | ||
| 40 | * | ||
| 41 | * Mainly it removes the entry in the attributes list | ||
| 42 | * | ||
| 43 | * @param mixed $value | ||
| 44 | * | ||
| 45 | * @return $this|self|Select | ||
| 46 | */ | ||
| 47 | 4 | public function setValue($value) | |
| 55 | |||
| 56 | } |