MediaWiki  REL1_21
ScopedCallback Class Reference

Class for asserting that a callback happens when an dummy object leaves scope. More...

List of all members.

Public Member Functions

 __construct (Closure $callback)
 __destruct ()

Protected Attributes

Closure $callback
 *

Detailed Description

Class for asserting that a callback happens when an dummy object leaves scope.

Definition at line 26 of file ScopedCallback.php.


Constructor & Destructor Documentation

ScopedCallback::__construct ( Closure $  callback)
Parameters:
$callbackClosure

Definition at line 32 of file ScopedCallback.php.

Definition at line 36 of file ScopedCallback.php.


Member Data Documentation

Closure ScopedCallback::$callback [protected]

*

Definition at line 27 of file ScopedCallback.php.


The documentation for this class was generated from the following file: