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 }
FileBackendStore helper class for performing asynchronous file operations.
closeResources()
Close all open file handles.
callable $call
name that identifies the function called