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

Public Member Functions

 convertToDatabaseValue ($value, DoctrineAbstractPlatform $platform)
 

Detailed Description

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

not part of public core API.

Definition at line 29 of file DateType.php.

Member Function Documentation

◆ convertToDatabaseValue()

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

Definition at line 31 of file DateType.php.