MediaWiki master
FSFileOpHandle.php
Go to the documentation of this file.
1<?php
23
25
28 public $cmd;
30 public $callback;
31
38 public function __construct( FSFileBackend $backend, array $params, callable $call, $cmd ) {
39 $this->backend = $backend;
40 $this->params = $params;
41 $this->callback = $call;
42 $this->cmd = $cmd;
43 }
44}
45
47class_alias( FSFileOpHandle::class, 'FSFileOpHandle' );
Class for a file system (FS) based file backend.
callback $callback
Post-operation success/error handling and cleanup function.
__construct(FSFileBackend $backend, array $params, callable $call, $cmd)
FileBackendStore helper class for performing asynchronous file operations.
callable $call
name that identifies the function called