public function convertToPHPValue($value, AbstractPlatform $platform)
    {
        if (!$value || !is_string($value)) {
            return null;
        }

        $timepoint = self::getParsingClock()->fromString($value, 'Y-m-d H:i:s');

        if (!$timepoint) {
            throw ConversionException::conversionFailedFormat($value, $this->getName(), $platform->getDateTimeFormatString());
        }

        return $timepoint;
    }