blob: 788174340abc953dd742b4928d9a74800d35aa58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<?php
declare(strict_types=1);
namespace Doctrine\ORM\Query\AST;
use Doctrine\ORM\Query\SqlWalker;
/**
* ConditionalFactor ::= ["NOT"] ConditionalPrimary
*
* @link www.doctrine-project.org
*/
class ConditionalFactor extends Node implements Phase2OptimizableConditional
{
public function __construct(
public ConditionalPrimary $conditionalPrimary,
public bool $not = false,
) {
}
public function dispatch(SqlWalker $walker): string
{
return $walker->walkConditionalFactor($this);
}
}
|