mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API Add deprecation
This commit is contained in:
parent
ebbd6427b2
commit
baeaef4b61
@ -122,6 +122,7 @@ abstract class DBField extends ViewableData implements DBIndexable
|
|||||||
* @var $default mixed Default-value in the database.
|
* @var $default mixed Default-value in the database.
|
||||||
* Might be overridden on DataObject-level, but still useful for setting defaults on
|
* Might be overridden on DataObject-level, but still useful for setting defaults on
|
||||||
* already existing records after a db-build.
|
* already existing records after a db-build.
|
||||||
|
* @deprecated 5.4.0 Call setDefaultValue() in constructor instead
|
||||||
*/
|
*/
|
||||||
protected $defaultVal;
|
protected $defaultVal;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user