|
MediaWiki REL1_39
|


Public Member Functions | |
| __construct (SwiftFileBackend $backend, Closure $callback, array $httpOp) | |
| Construct a handle to be use with SwiftFileOpHandle::doExecuteOpHandlesInternal() | |
Public Member Functions inherited from FileBackendStoreOpHandle | |
| closeResources () | |
| Close all open file handles. | |
Public Attributes | |
| Closure | $callback |
| Function to run after each HTTP request finishes. | |
| array[] | $httpOp |
| List of HTTP request maps for MultiHttpClient. | |
| int | $state = self::CONTINUE_IF_OK |
| Class CONTINUE_* constant. | |
Public Attributes inherited from FileBackendStoreOpHandle | |
| FileBackendStore | $backend |
| callable | $call |
| name that identifies the function called | |
| array | $params = [] |
| array | $resourcesToClose = [] |
Definition at line 25 of file SwiftFileOpHandle.php.
| SwiftFileOpHandle::__construct | ( | SwiftFileBackend | $backend, |
| Closure | $callback, | ||
| array | $httpOp ) |
Construct a handle to be use with SwiftFileOpHandle::doExecuteOpHandlesInternal()
The callback returns a class CONTINUE_* constant and takes the following parameters:
| SwiftFileBackend | $backend | |
| Closure | $callback | |
| array | $httpOp | MultiHttpClient op |
Definition at line 50 of file SwiftFileOpHandle.php.
References FileBackendStoreOpHandle\$backend, $callback, and $httpOp.
| Closure SwiftFileOpHandle::$callback |
Function to run after each HTTP request finishes.
Definition at line 29 of file SwiftFileOpHandle.php.
Referenced by __construct().
| array [] SwiftFileOpHandle::$httpOp |
List of HTTP request maps for MultiHttpClient.
Definition at line 27 of file SwiftFileOpHandle.php.
Referenced by __construct().
| int SwiftFileOpHandle::$state = self::CONTINUE_IF_OK |
Class CONTINUE_* constant.
Definition at line 32 of file SwiftFileOpHandle.php.