mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-28 13:36:12 +02:00
This patch introduces PHP 7 compatability without breaking semver by adding DBInt and DBFloat classes, with Int/Float classes that are only loaded into PHP 5 environments
27 lines
579 B
YAML
27 lines
579 B
YAML
---
|
|
name: databaseconnectors
|
|
---
|
|
Injector:
|
|
MySQLPDODatabase:
|
|
class: 'MySQLDatabase'
|
|
properties:
|
|
connector: %$PDOConnector
|
|
schemaManager: %$MySQLSchemaManager
|
|
queryBuilder: %$MySQLQueryBuilder
|
|
MySQLDatabase:
|
|
class: 'MySQLDatabase'
|
|
properties:
|
|
connector: %$MySQLiConnector
|
|
schemaManager: %$MySQLSchemaManager
|
|
queryBuilder: %$MySQLQueryBuilder
|
|
MySQLiConnector:
|
|
class: 'MySQLiConnector'
|
|
type: prototype
|
|
PDOConnector:
|
|
class: 'PDOConnector'
|
|
type: prototype
|
|
Int:
|
|
class: DBInt
|
|
Float:
|
|
class: DBFloat
|