public convertToDatabaseValue ( mixed $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform ) : mixed | ||
$value | mixed | The value to convert. |
$platform | Doctrine\DBAL\Platforms\AbstractPlatform | The currently used database platform. |
return | mixed | The database representation of the value. |