This simple class provides an implementation of C++'s SCOPE_EXIT, or GoLang's defer.
To use, assign an instance of this object to a local variable. When that variable falls out of scope (or is explicitly unset), the callback passed to the constructor will be invoked. This is useful, for example, to aid cleanup at the end of a function.
Autoloader: /usr/share/php/PhpLang/scope-exit-autoload.php
sudo dnf install --advisory=FEDORA-2019-c5f2a8e178 \*
Please login to add feedback.
This update has been submitted for testing by remi.
This update's test gating status has been changed to 'waiting'.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
This update can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by bodhi.
This update has been pushed to stable.