MediaWiki
master
FSFileOpHandle.php
Go to the documentation of this file.
1
<?php
22
namespace
Wikimedia\FileBackend\FileOpHandle
;
23
24
use
Wikimedia\FileBackend\FSFileBackend
;
25
26
class
FSFileOpHandle
extends
FileBackendStoreOpHandle
{
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
47
class_alias( FSFileOpHandle::class,
'FSFileOpHandle'
);
Wikimedia\FileBackend\FSFileBackend
Class for a file system (FS) based file backend.
Definition
FSFileBackend.php:74
Wikimedia\FileBackend\FileOpHandle\FSFileOpHandle
Definition
FSFileOpHandle.php:26
Wikimedia\FileBackend\FileOpHandle\FSFileOpHandle\$callback
callback $callback
Post-operation success/error handling and cleanup function.
Definition
FSFileOpHandle.php:30
Wikimedia\FileBackend\FileOpHandle\FSFileOpHandle\$cmd
string $cmd
Shell command.
Definition
FSFileOpHandle.php:28
Wikimedia\FileBackend\FileOpHandle\FSFileOpHandle\__construct
__construct(FSFileBackend $backend, array $params, callable $call, $cmd)
Definition
FSFileOpHandle.php:38
Wikimedia\FileBackend\FileOpHandle\FileBackendStoreOpHandle
FileBackendStore helper class for performing asynchronous file operations.
Definition
FileBackendStoreOpHandle.php:36
Wikimedia\FileBackend\FileOpHandle\FileBackendStoreOpHandle\$backend
FileBackendStore $backend
Definition
FileBackendStoreOpHandle.php:40
Wikimedia\FileBackend\FileOpHandle\FileBackendStoreOpHandle\$params
array $params
Definition
FileBackendStoreOpHandle.php:38
Wikimedia\FileBackend\FileOpHandle\FileBackendStoreOpHandle\$call
callable $call
name that identifies the function called
Definition
FileBackendStoreOpHandle.php:44
Wikimedia\FileBackend\FileOpHandle
Definition
FileBackendStoreOpHandle.php:22
includes
libs
filebackend
fileophandle
FSFileOpHandle.php
Generated on Thu Nov 21 2024 10:24:22 for MediaWiki by
1.10.0