首先,在刚开始编写魔法方法时,类的复杂性显著增加。
First, the complexity of classes increases tremendously when you start writing magic methods.
例如,魔法属性kernel指向内核,它自动被框架注入到类中。
For example, the magic attribute kernel refers to the kernel, which is automatically injected into the class by the framework.
所有图腾都归入物理类而非魔法。
All totems are now considered on the "Physical" school, and no longer magical spells.
应用推荐