eZ\Publish\Core\FieldType\TextLine\Type::createValueFromInput PHP Метод

createValueFromInput() защищенный Метод

Inspects given $inputValue and potentially converts it into a dedicated value object.
protected createValueFromInput ( string | Value $inputValue ) : Value
$inputValue string | Value
Результат Value The potentially converted and structurally plausible value.
    protected function createValueFromInput($inputValue)
    {
        if (is_string($inputValue)) {
            $inputValue = new Value($inputValue);
        }
        return $inputValue;
    }