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

createValueFromInput() abstract protected method

If given $inputValue could not be converted or is already an instance of dedicate value object, the method should simply return it. This is an operation method for {@see \acceptValue()}. Example implementation: protected function createValueFromInput( $inputValue ) { if ( is_array( $inputValue ) ) { $inputValue = \eZ\Publish\Core\FieldType\CookieJar\Value( $inputValue ); } return $inputValue; }
abstract protected createValueFromInput ( mixed $inputValue ) : mixed
$inputValue mixed
return mixed The potentially converted input value.
    protected abstract function createValueFromInput($inputValue);