Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
33.33% |
1 / 3 |
CRAP | |
40.00% |
2 / 5 |
PassByReferenceContainer | |
0.00% |
0 / 1 |
|
33.33% |
1 / 3 |
4.94 | |
40.00% |
2 / 5 |
__construct($value = null) | |
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
|||
setValue($value) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
getValue() | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
<?php | |
/** | |
* | |
*/ | |
namespace aae\std { | |
/** | |
* @author Axel Ancona Esselmann | |
* @package aae\std | |
*/ | |
class PassByReferenceContainer { | |
private $_value; | |
public function __construct($value = null) { | |
$this->_value = $value; | |
} | |
public function setValue($value) { | |
$this->_value = $value; | |
} | |
public function getValue() { | |
return $this->_value; | |
} | |
} | |
} |