Page MenuHomeWickedGov Phorge

ServerBoxedResult.php
No OneTemporary

Size
803 B
Referenced Files
None
Subscribers
None

ServerBoxedResult.php

<?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

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)

Event Timeline