Meta tags:
Headings (most frequently used words):
scopedcallback, usage, running, tests,
Text of the page (most frequently used words):
#scopedcallback (12), the (10), callback (5), run (5), for (4), scope (3), this (3), composer (2), running (2), make (2), when (2), dummy (2), object (2), leaves (2), wikimedia (2), you (2), want (2), called (2), manually (2), function (2), even (2), teardown (2), can (2), generated, install, prefer, dist, test, tests, php, definition, cancel, prevent, from, being, unset, consume, call, foobar, end, throws, exception, will, new, use, usage, additional, documentation, about, library, found, mediawiki, org, class, allows, after, instance, goes, out, useful, making, sure, cleanup, functions, exceptions, are, thrown, also, makes, cleaner, api, developers, not, requiring, each, time, license, latest, stable, version, matches, searching, loading,
Text of the page (random words):
scopedcallback scopedcallback scopedcallback make a callback run when a dummy object leaves the scope loading searching no matches scopedcallback latest stable version license scopedcallback the scopedcallback class allows for running a function after the instance goes out of scope it can be useful for making sure teardown or cleanup functions run even if exceptions are thrown it also makes for a cleaner api for developers by not requiring the callback to be called manually each time additional documentation about the library can be found on mediawiki org usage use wikimedia scopedcallback sc new scopedcallback this teardown even if this throws an exception the callback will run or it ll run at the end of the function this foobar if you want to manually call the callback scopedcallback consume sc or unset sc if you want to prevent it from being called scopedcallback cancel sc wikimedia scopedcallback make a callback run when a dummy object leaves the scope definition scopedcallback php 20 running tests composer install prefer dist composer test generated by 1 10 0
|