PHP OOP - Destructor
PHP - The __destruct Function
A special function is automatically called when an object goes out of scope or gets deleted.
If you create a __destruct() function, PHP will automatically call this function at the end of the script.
The destruct function also starts with two underscores (__)!
Syntax