MediaWiki
master
FileBackendStoreOpHandle.php
Go to the documentation of this file.
1
<?php
32
abstract
class
FileBackendStoreOpHandle
{
34
public
$params
= [];
// params to caller functions
36
public
$backend
;
38
public
$resourcesToClose
= [];
40
public
$call
;
41
45
public
function
closeResources
() {
46
// @phan-suppress-next-line PhanPluginUseReturnValueInternalKnown
47
array_map(
'fclose'
, $this->resourcesToClose );
48
}
49
}
FileBackendStoreOpHandle
FileBackendStore helper class for performing asynchronous file operations.
Definition:
FileBackendStoreOpHandle.php:32
FileBackendStoreOpHandle\closeResources
closeResources()
Close all open file handles.
Definition:
FileBackendStoreOpHandle.php:45
FileBackendStoreOpHandle\$backend
FileBackendStore $backend
Definition:
FileBackendStoreOpHandle.php:36
FileBackendStoreOpHandle\$call
callable $call
name that identifies the function called
Definition:
FileBackendStoreOpHandle.php:40
FileBackendStoreOpHandle\$resourcesToClose
array $resourcesToClose
Definition:
FileBackendStoreOpHandle.php:38
FileBackendStoreOpHandle\$params
array $params
Definition:
FileBackendStoreOpHandle.php:34
includes
libs
filebackend
fileophandle
FileBackendStoreOpHandle.php
Generated on Sun May 28 2023 22:08:32 for MediaWiki by
1.9.1