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