silverstripe-framework/_config/database.yml
Loz Calver 40bf945322 NEW: PHP 7 compatibility
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
2017-04-05 11:00:04 +10:00

27 lines
810 B
YAML

---
name: databaseconnectors
---
SilverStripe\Core\Injector\Injector:
MySQLPDODatabase:
class: 'SilverStripe\ORM\Connect\MySQLDatabase'
properties:
connector: %$PDOConnector
schemaManager: %$MySQLSchemaManager
queryBuilder: %$MySQLQueryBuilder
MySQLDatabase:
class: 'SilverStripe\ORM\Connect\MySQLDatabase'
properties:
connector: %$MySQLiConnector
schemaManager: %$MySQLSchemaManager
queryBuilder: %$MySQLQueryBuilder
MySQLiConnector:
class: 'SilverStripe\ORM\Connect\MySQLiConnector'
type: prototype
PDOConnector:
class: 'SilverStripe\ORM\Connect\PDOConnector'
type: prototype
MySQLSchemaManager:
class: 'SilverStripe\ORM\Connect\MySQLSchemaManager'
MySQLQueryBuilder:
class: 'SilverStripe\ORM\Connect\MySQLQueryBuilder'