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 StringNode extends Node
{
private $value;
public function __construct(?string $value = '', ?Document $ownerDocument = null)
parent::__construct($ownerDocument);
$this->value = $value ?? '';
}
public function getValue(): string
return $this->value;
public function setValue(string $value): void
$this->value = $value;
public function jsonSerialize(): string