What is Magic Methods?
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.
Reference
Last updated
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.
Last updated
Was this helpful?