for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace DaveRandom\Jom;
final class BooleanNode extends Node
{
private $value;
public function __construct(?bool $value = false, ?Document $ownerDocument = null)
parent::__construct($ownerDocument);
$this->value = $value ?? false;
}
public function getValue(): bool
return $this->value;
public function setValue(bool $value): void
$this->value = $value;
public function jsonSerialize(): bool