OptimizeFlags
in package
FinalYes
Table of Contents
Properties
- $platforms : array<string, int>
- Platform-specific portability flags that need to be excluded from the user-provided mode since the platform already operates in this mode to avoid unnecessary conversion overhead.
Methods
- __invoke() : int
Properties
$platforms
Platform-specific portability flags that need to be excluded from the user-provided mode since the platform already operates in this mode to avoid unnecessary conversion overhead.
private
static array<string, int>
$platforms
= [\Doctrine\DBAL\Platforms\DB2Platform::class => 0, \Doctrine\DBAL\Platforms\OraclePlatform::class => \Doctrine\DBAL\Portability\Connection::PORTABILITY_EMPTY_TO_NULL, \Doctrine\DBAL\Platforms\PostgreSQLPlatform::class => 0, \Doctrine\DBAL\Platforms\SqlitePlatform::class => 0, \Doctrine\DBAL\Platforms\SQLServerPlatform::class => 0]
Methods
__invoke()
public
__invoke(AbstractPlatform $platform, int $flags) : int
Parameters
- $platform : AbstractPlatform
- $flags : int