mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
APICHANGE: deprecate DataObject::setComponent, no longer does anything.
This commit is contained in:
parent
360e9df54e
commit
621b2e1888
@ -1391,9 +1391,10 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
|||||||
*
|
*
|
||||||
* @param string $componentName Name of the component
|
* @param string $componentName Name of the component
|
||||||
* @param DataObject|HasManyList|ManyManyList $componentValue Value of the component
|
* @param DataObject|HasManyList|ManyManyList $componentValue Value of the component
|
||||||
|
* @deprecated 3.0 Not used internally anymore.
|
||||||
*/
|
*/
|
||||||
public function setComponent($componentName, $componentValue) {
|
public function setComponent($componentName, $componentValue) {
|
||||||
$this->componentCache[$componentName] = $componentValue;
|
Deprecation::notice('3.0', 'Not used internally anymore.');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user