Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5959430
ServerBoxedResult.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
803 B
Referenced Files
None
Subscribers
None
ServerBoxedResult.php
View Options
<?php
namespace
Shellbox\Command
;
/**
* A BoxedResult subclass used by ServerBoxedExecutor, providing simplified
* output file handling.
*
* @internal
*/
class
ServerBoxedResult
extends
BoxedResult
{
/** @var string[] */
private
$fileNames
=
[];
/** @var string[] */
private
$sentFileNames
=
[];
public
function
getFileNames
()
{
return
$this
->
fileNames
;
}
public
function
getReceivedFileNames
()
{
// Our sent files are your received files. Or to put it another way,
// the client defines the terminology in the public interface.
return
$this
->
sentFileNames
;
}
/**
* @param string[] $fileNames
* @param string[] $sentFileNames
*/
public
function
setFileNames
(
$fileNames
,
$sentFileNames
)
{
$this
->
fileNames
=
$fileNames
;
$this
->
sentFileNames
=
$sentFileNames
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 06:30 (2 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
59/ec/df20297890f0207ef48df6d77708
Default Alt Text
ServerBoxedResult.php (803 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment