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  array_map( 'fclose', $this->resourcesToClose );
47  }
48 }
FileBackendStoreOpHandle\$backend
FileBackendStore $backend
Definition: FileBackendStoreOpHandle.php:36
FileBackendStoreOpHandle\$resourcesToClose
array $resourcesToClose
Definition: FileBackendStoreOpHandle.php:38
FileBackendStore
Base class for all backends using particular storage medium.
Definition: FileBackendStore.php:41
FileBackendStoreOpHandle
FileBackendStore helper class for performing asynchronous file operations.
Definition: FileBackendStoreOpHandle.php:32
FileBackendStoreOpHandle\$params
array $params
Definition: FileBackendStoreOpHandle.php:34
FileBackendStoreOpHandle\closeResources
closeResources()
Close all open file handles.
Definition: FileBackendStoreOpHandle.php:45
FileBackendStoreOpHandle\$call
callable $call
name that identifies the function called
Definition: FileBackendStoreOpHandle.php:40