/** * {@inheritDoc} * @see \PhpObject\Core\IBoolean::nand($boolean) */ public function nand(IBoolean $boolean) : IBoolean { return Boolean::fromPrimitive(!($this->getPrimitive() && $boolean->getPrimitive())); }
/** * {@inheritDoc} * @see \PhpObject\Core\IBoolean::_xor($boolean) */ public function _xor(IBoolean $boolean) : IBoolean { return $boolean->not(); }