‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Database\Platform\PlatformHelper Class Reference

Public Member Functions

string getIdentifierQuoteCharacter (DoctrineAbstractPlatform $platform)
 

Detailed Description

not part of public core API.

Definition at line 25 of file PlatformHelper.php.

Member Function Documentation

◆ getIdentifierQuoteCharacter()

string TYPO3\CMS\Core\Database\Platform\PlatformHelper::getIdentifierQuoteCharacter ( DoctrineAbstractPlatform  $platform)

Doctrine DBAL 4 removed the getIdentifierQuoteCharacter() method from the platform classes and suggest to use Platform::quoteIdentifier() instead. As this invoke the need to provide a fake identifier and extract the character, this helper method is used throughout the core.

See also
https://github.com/doctrine/dbal/blob/4.0.x/UPGRADE.md#bc-break-removed-abstractplatform-methods-exposing-quote-characters
https://github.com/doctrine/dbal/blob/3.7.x/UPGRADE.md#deprecated-abstractplatform-methods-exposing-quote-characters
Parameters
DoctrineAbstractPlatform$platform
Returns
‪string

Used in capsuled code and should not be needed to called by extension code. Not part of public API.

Definition at line 40 of file PlatformHelper.php.