lib/Doctrine/DBAL/Types/ConversionException.php
public static function conversionFailedFormat($value, $toType, $expectedFormat, ?Throwable $previous = null)
    {
        $value = strlen($value) > 32 ? substr($value, 0, 20) . '...' : $value;

        return new self(
            'Could not convert database value "' . $value . '" to Doctrine Type ' .
            $toType . '. Expected format: ' . $expectedFormat,
            0,
            $previous
        );
    }
public static function conversionFailedFormat($value, $toType, $expectedFormat, ?Throwable $previous = null)
    {
        $value = strlen($value) > 32 ? substr($value, 0, 20) . '...' : $value;

        return new self(
            'Could not convert database value "' . $value . '" to Doctrine Type ' .
            $toType . '. Expected format: ' . $expectedFormat,
            0,
            $previous
        );
    }
public static function conversionFailedFormat ( $ value , $ toType , $ expectedFormat , ? Throwable $ previous = null ) { $ value = strlen ( $ value ) > 32 ? substr ( $ value , 0 , 20 ) . '...' : $ value ; return new self ( 'Could not convert database value "' . $ value . '" to Doctrine Type ' . $ toType . '. Expected format: ' . $ expectedFormat , 0 , $ previous ) ; }
Thrown when a Database to Doctrine Type Conversion fails and we can make a statement
about the expected format.

@param string $value
@param string $toType
@param string $expectedFormat

@return \Doctrine\DBAL\Types\ConversionException
Thrown when a Database to Doctrine Type Conversion fails and we can make a statement about the expected format .