($collectHistory = false)
| 25 | private $history; |
| 26 | |
| 27 | public function __construct($collectHistory = false) { |
| 28 | $this->state = array(); |
| 29 | $this->timestamp = 0; |
| 30 | $this->valid = true; |
| 31 | |
| 32 | // Define $history as a local variable |
| 33 | $this->history = null; |
| 34 | if ($collectHistory) { |
| 35 | $this->history = array(); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | public function get_history() { |
| 40 | return $this->history; |
nothing calls this directly
no outgoing calls
no test coverage detected