|
MediaWiki
REL1_21
|
Class for asserting that a callback happens when an dummy object leaves scope. More...
Public Member Functions | |
| __construct (Closure $callback) | |
| __destruct () | |
Protected Attributes | |
| Closure | $callback |
| * | |
Class for asserting that a callback happens when an dummy object leaves scope.
Definition at line 26 of file ScopedCallback.php.
| ScopedCallback::__construct | ( | Closure $ | callback | ) |
| $callback | Closure |
Definition at line 32 of file ScopedCallback.php.
Definition at line 36 of file ScopedCallback.php.
Closure ScopedCallback::$callback [protected] |
*
Definition at line 27 of file ScopedCallback.php.