| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Let you register callbacks that will be called when objects are destroyed.
composer req texthtml/object-reaper$a = (object) [];
// Attach a callback to any object
// It will be called when the object is destroyed
Reaper::watch($a, function () { echo "Good Bye"; });
// "Good bye" will be printed when $a is destroyed| Back | FazBrowse Home | New Git URL |