public function __construct($oid, $criticality = false, $value = null) { $this->oid = $oid; $this->criticality = (bool) $criticality; $this->value = $value; }