Special Methods
Special methods are methods declared in classes, whose name begins with
an underscore character. They are called by the interpreter in some
special situations.
There are eight special methods, and they are all optional.
_init
Class initialization.
_new
Object instanciation.
_next
Object or class enumeration.
_call
Using the object or the class as a method.
_unknown
Calling an unknown method or property.
See also