MediaWiki master
FileBackendStoreOpHandle.php
Go to the documentation of this file.
1<?php
23
25
38 public $params = []; // params to caller functions
40 public $backend;
42 public $resourcesToClose = [];
44 public $call;
45
49 public function closeResources() {
50 // @phan-suppress-next-line PhanPluginUseReturnValueInternalKnown
51 array_map( 'fclose', $this->resourcesToClose );
52 }
53}
54
56class_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