MediaWiki  1.34.0
FileBackendStoreOpHandle.php
Go to the documentation of this file.
1 <?php
30 abstract class FileBackendStoreOpHandle {
32  public $params = []; // params to caller functions
34  public $backend;
36  public $resourcesToClose = [];
38  public $call;
39 
43  public function closeResources() {
44  array_map( 'fclose', $this->resourcesToClose );
45  }
46 }
FileBackendStoreOpHandle\$backend
FileBackendStore $backend
Definition: FileBackendStoreOpHandle.php:34
FileBackendStoreOpHandle\$resourcesToClose
array $resourcesToClose
Definition: FileBackendStoreOpHandle.php:36
FileBackendStore
Base class for all backends using particular storage medium.
Definition: FileBackendStore.php:40
FileBackendStoreOpHandle
FileBackendStore helper class for performing asynchronous file operations.
Definition: FileBackendStoreOpHandle.php:30
FileBackendStoreOpHandle\$params
array $params
Definition: FileBackendStoreOpHandle.php:32
FileBackendStoreOpHandle\closeResources
closeResources()
Close all open file handles.
Definition: FileBackendStoreOpHandle.php:43
FileBackendStoreOpHandle\$call
callable $call
name that identifies the function called
Definition: FileBackendStoreOpHandle.php:38