eZ\Publish\Core\FieldType\ISBN\Type::createValueFromInput PHP Method

createValueFromInput() protected method

Inspects given $inputValue and potentially converts it into a dedicated value object.
protected createValueFromInput ( string | eZ\Publish\Core\FieldType\ISBN\Value $inputValue ) : eZ\Publish\Core\FieldType\ISBN\Value
$inputValue string | eZ\Publish\Core\FieldType\ISBN\Value
return eZ\Publish\Core\FieldType\ISBN\Value The potentially converted and structurally plausible value.
    protected function createValueFromInput($inputValue)
    {
        if (is_string($inputValue)) {
            $inputValue = $this->fromHash($inputValue);
        }
        return $inputValue;
    }