Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
2 / 2 |
CRAP | |
100.00% |
3 / 3 |
ServerBoxedResult | |
100.00% |
1 / 1 |
|
100.00% |
2 / 2 |
2 | |
100.00% |
3 / 3 |
getFileNames | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
setFileNames | |
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
<?php | |
namespace Shellbox\Command; | |
/** | |
* A BoxedResult subclass used by ServerBoxedExecutor, providing simplified | |
* output file handling. | |
*/ | |
class ServerBoxedResult extends BoxedResult { | |
/** @var string[] */ | |
private $fileNames = []; | |
public function getFileNames() { | |
return $this->fileNames; | |
} | |
/** | |
* @param string[] $fileNames | |
*/ | |
public function setFileNames( $fileNames ) { | |
$this->fileNames = $fileNames; | |
} | |
} |