‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Database\Schema\Types\DateTimeType Class Reference
Inheritance diagram for TYPO3\CMS\Core\Database\Schema\Types\DateTimeType:

Public Member Functions

 convertToDatabaseValue ($value, DoctrineAbstractPlatform $platform)
 

Detailed Description

This custom type extends doctrine native DateTimeType to allow a formatted string (in "Y-m-d H:i:s") directly, in addition to a DateTimeInterface.

not part of public core API.

Definition at line 29 of file DateTimeType.php.

Member Function Documentation

◆ convertToDatabaseValue()

TYPO3\CMS\Core\Database\Schema\Types\DateTimeType::convertToDatabaseValue (   $value,
DoctrineAbstractPlatform  $platform 
)

Definition at line 31 of file DateTimeType.php.