Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
20.00% |
1 / 5 |
CRAP | |
37.50% |
3 / 8 |
TransmissionPackage | |
0.00% |
0 / 1 |
|
20.00% |
1 / 5 |
11.10 | |
37.50% |
3 / 8 |
__construct($transmissionString, $id = null) | |
100.00% |
1 / 1 |
1 | |
100.00% |
3 / 3 |
|||
getId() | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
setId($id) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
getTransmissionString() | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getParameters() | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
<?php | |
/** | |
* | |
*/ | |
namespace aae\connect { | |
/** | |
* @author Axel Ancona Esselmann | |
* @package aae\connect | |
*/ | |
class TransmissionPackage { | |
private $_id, $_transmissionString; | |
public function __construct($transmissionString, $id = null) { | |
$this->_transmissionString = $transmissionString; | |
$this->_id = $id; | |
} | |
public function getId() { | |
return $this->_id; | |
} | |
public function setId($id) { | |
$this->_id = $id; | |
} | |
public function getTransmissionString() { | |
return $this->_transmissionString; | |
} | |
public function getParameters() { | |
return array("id" => $this->_id, "transmissionString" => $this->_transmissionString); | |
} | |
} | |
} |