for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Remorhaz\JSON\Pointer\Processor\Result;
use Remorhaz\JSON\Data\Value\NodeValueInterface;
final class NonExistingResult implements ResultInterface
{
private $source;
public function __construct(string $source)
$this->source = $source;
}
public function exists(): bool
return false;
public function encode(): string
throw new Exception\ResultNotFoundException($this->source);
public function decode()
public function get(): NodeValueInterface