mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Add class to trait visitor.
This lets us replace classes that extend certain other classes with a provided list of traits.
This commit is contained in:
parent
8af1ca53a7
commit
e9ab2ed381
12
.upgrade.yml
12
.upgrade.yml
@ -1388,8 +1388,10 @@ warnings:
|
||||
message: 'Use global const RESOURCES_DIR'
|
||||
url: 'https://docs.silverstripe.org/en/4/changelogs/4.4.0#resources-dir'
|
||||
replacement: 'RESOURCES_DIR'
|
||||
|
||||
renameWarnings:
|
||||
- Form
|
||||
|
||||
visibilities:
|
||||
'SilverStripe\ORM\DataObject::db':
|
||||
visibility: private
|
||||
@ -1517,3 +1519,13 @@ visibilities:
|
||||
visibility: protected
|
||||
'SilverStripe\View\SSViewer::partialCacheStore':
|
||||
visibility: protected
|
||||
|
||||
classToTraits:
|
||||
SS_Object:
|
||||
'SilverStripe\Core\Extensible': 'Extensible'
|
||||
'SilverStripe\Core\Injector\Injectable': 'Injectable'
|
||||
'SilverStripe\Core\Config\Configurable': 'Configurable'
|
||||
Object:
|
||||
'SilverStripe\Core\Extensible': 'Extensible'
|
||||
'SilverStripe\Core\Injector\Injectable': 'Injectable'
|
||||
'SilverStripe\Core\Config\Configurable': 'Configurable'
|
Loading…
Reference in New Issue
Block a user