silverstripe-framework/_config/model.yml
Sam Minnee 083799ec03 FIX: Minimal data-model changes to support PHP7.
The tidiest fix for this will be to update the namespace/naming of all
field types to follow this pattern. I’ve broken out the minimum
necessary to support PHP7 as its own commit, in case anyone needs to
backport that (e.g. if someone wanted to patch a SS 3 system to get
PHP7 support).

Rather than introduce a new API for fieldtype namespace simplification,
I’ve just used Injector. We may come up with a new configuration tool
that is better, but this has the advantage of existing now, and as such
I think is a good first step.
2016-03-22 17:39:08 +13:00

6 lines
120 B
YAML

Injector:
Int:
class: SilverStripe\Model\FieldType\DBInt
Float:
class: SilverStripe\Model\FieldType\DBFloat