MediaWiki master
FileBackendStoreOpHandle.php
Go to the documentation of this file.
1<?php
9
11
24 public $params = []; // params to caller functions
26 public $backend;
28 public $resourcesToClose = [];
30 public $call;
31
35 public function closeResources() {
36 // @phan-suppress-next-line PhanPluginUseReturnValueInternalKnown
37 array_map( 'fclose', $this->resourcesToClose );
38 }
39}
40
42class_alias( FileBackendStoreOpHandle::class, 'FileBackendStoreOpHandle' );
Base class for all backends using particular storage medium.
FileBackendStore helper class for performing asynchronous file operations.
callable $call
name that identifies the function called