mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 09:52:20 +00:00
21 lines
315 B
PHP
21 lines
315 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace FireflyIII\Support\Search\QueryParser;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Base class for all nodes
|
||
|
|
*/
|
||
|
|
abstract class Node
|
||
|
|
{
|
||
|
|
abstract public function __toString(): string;
|
||
|
|
|
||
|
|
protected bool $prohibited;
|
||
|
|
|
||
|
|
public function isProhibited(): bool
|
||
|
|
{
|
||
|
|
return $this->prohibited;
|
||
|
|
}
|
||
|
|
}
|