MediaWiki master
FSFileOpHandle.php
Go to the documentation of this file.
1<?php
9
11
14 public $cmd;
16 public $callback;
17
24 public function __construct( FSFileBackend $backend, array $params, callable $call, $cmd ) {
25 $this->backend = $backend;
26 $this->params = $params;
27 $this->callback = $call;
28 $this->cmd = $cmd;
29 }
30}
31
33class_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