protected function createValueFromInput($inputValue) { if (is_array($inputValue)) { $inputValue = new Value($inputValue); } return $inputValue; }