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