Last updated 6 years ago
Was this helpful?
The methods having two prefix and suffix underscores in the method name is called Magic Methods. They're special methods that you can define to add "magic" to your classes.