/** * Boolean to integer conversion * @return Int */ public final function toInt() { $int = null; Int::create($int, $this); return $int; }
/** * * @param int $val */ public function removeFlag($val) { Int::create($val); $this->setValue($val->bw_not()->bw_and($this)); }