You can create these magic methods in a class for a variety of action types.
可以在一个类中为各种不同的动作创建这些魔术方法。
First, the complexity of classes increases tremendously when you start writing magic methods.
首先,在刚开始编写魔法方法时,类的复杂性显著增加。
PHP V5 has several specially defined methods that can be used inside classes known as magic methods.
PHP V5提供了一些可用于类内部的特别定义的方法,称为魔术方法。
应用推荐