MediaWiki
1.34.0
|
Public Member Functions | |
__construct (SwiftFileBackend $backend, Closure $callback, array $httpOp) | |
Construct a handle to be use with SwiftFileOpHandle::doExecuteOpHandlesInternal() More... | |
Public Member Functions inherited from FileBackendStoreOpHandle | |
closeResources () | |
Close all open file handles. More... | |
Public Attributes | |
Closure | $callback |
Function to run after each HTTP request finishes. More... | |
array[] | $httpOp |
List of HTTP request maps for MultiHttpClient. More... | |
int | $state = self::CONTINUE_IF_OK |
Class CONTINUE_* constant. More... | |
Public Attributes inherited from FileBackendStoreOpHandle | |
FileBackendStore | $backend |
callable | $call |
name that identifies the function called More... | |
array | $params = [] |
array | $resourcesToClose = [] |
Definition at line 28 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 53 of file SwiftFileOpHandle.php.
References FileBackendStoreOpHandle\$backend, $callback, and $httpOp.
Closure SwiftFileOpHandle::$callback |
Function to run after each HTTP request finishes.
Definition at line 32 of file SwiftFileOpHandle.php.
Referenced by __construct().
array [] SwiftFileOpHandle::$httpOp |
List of HTTP request maps for MultiHttpClient.
Definition at line 30 of file SwiftFileOpHandle.php.
Referenced by __construct().
int SwiftFileOpHandle::$state = self::CONTINUE_IF_OK |
Class CONTINUE_* constant.
Definition at line 35 of file SwiftFileOpHandle.php.