Categories
Magic Method | Description |
__construct() | This method is called automatically after the creation of an object. |
__destruct() | This method is called when an object has no other references. |
__get() | This method is called when we intend to get values for class properties. |
__set() | This method is called when we intend to put values for class properties. |
__call() | This method is called when an inaccessible or undefined method is called in an object. |