Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7467746
FSFileOpHandle.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
791 B
Referenced Files
None
Subscribers
None
FSFileOpHandle.php
View Options
<?php
/**
* @license GPL-2.0-or-later
* @file
* @ingroup FileBackend
*/
namespace
Wikimedia\FileBackend\FileOpHandle
;
use
Wikimedia\FileBackend\FSFileBackend
;
class
FSFileOpHandle
extends
FileBackendStoreOpHandle
{
/** @var string Shell command */
public
$cmd
;
/** @var callback Post-operation success/error handling and cleanup function */
public
$callback
;
/**
* @param FSFileBackend $backend
* @param array $params
* @param callable $call
* @param string $cmd
*/
public
function
__construct
(
FSFileBackend
$backend
,
array
$params
,
callable
$call
,
$cmd
)
{
$this
->
backend
=
$backend
;
$this
->
params
=
$params
;
$this
->
callback
=
$call
;
$this
->
cmd
=
$cmd
;
}
}
/** @deprecated class alias since 1.43 */
class_alias
(
FSFileOpHandle
::
class
,
'FSFileOpHandle'
);
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Nov 23, 06:14 (3 d, 14 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
56/7d/b53cc4fc34c2eff15dda8bf05373
Default Alt Text
FSFileOpHandle.php (791 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment