| 1 | <?php | ||
| 5 | trait AllowExtraFieldsTrait | ||
| 6 | { | ||
| 7 | use OptionAccessorsTrait; | ||
| 8 | |||
| 9 | /** | ||
| 10 | * @param bool $allow | ||
| 11 | * @return $this | ||
| 12 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#allow-extra-fields | ||
| 13 | */ | ||
| 14 | public function setAllowExtraFields($allow = true) | ||
| 18 | |||
| 19 | /** | ||
| 20 | * @return bool|string | ||
| 21 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#allow-extra-fields | ||
| 22 | */ | ||
| 23 | public function getAllowExtraFields() | ||
| 27 | |||
| 28 | /** | ||
| 29 | * @return $this | ||
| 30 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#allow-extra-fields | ||
| 31 | */ | ||
| 32 | public function removeAllowExtraFields() | ||
| 36 | } | ||
| 37 |