> Magento2中文手册 > 更改类和方法版本

更改类和方法版本

更改类和方法版本

下表确定了接口、类的典型主、次要和补丁级别更改。

Class Interface
Major change

Class removed
ConstAnt added, removed
Protected method added, removed
Protected method parameter changed
Protected property added, removed
Public method parameter changed
Public property added, removed
Public method added, removed

Constant added, removed
Interface added, removed
Method added, removed
Method parameter changed

Minor change Class added
Patch change

Private method added, removed
Private method parameter changed
Private method parameter name changed
Private property added, removed
Protected method parameter name changed
Public method parameter name changed

Method parameter name changed
  • 版本信息存储在哪里?