| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | trait OldValueSupportTrait |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Enable the retrievement of the submitted value in case of validation |
||
| 9 | * errors. This submitted value may be automatically shown when there is a |
||
| 10 | * validation error. |
||
| 11 | * |
||
| 12 | * @var bool |
||
| 13 | */ |
||
| 14 | protected $enableOldSupport; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Make the value attribute for an input item. |
||
| 18 | * |
||
| 19 | * @param string $errKey The key name to lookup for validation errors |
||
| 20 | * @param mixed $value The current value of the item |
||
| 21 | * @return mixed |
||
| 22 | */ |
||
| 23 | public function makeItemValue($errorKey, $value = null) |
||
| 30 | } |
||
| 31 | } |