blob: cda6d19aeea1d6bc58f84f81b42c59533406f39b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
declare(strict_types=1);
namespace Doctrine\ORM\Query\AST;
use Doctrine\ORM\Query\SqlWalker;
/**
* ParenthesisExpression ::= "(" ArithmeticPrimary ")"
*/
class ParenthesisExpression extends Node
{
public function __construct(public Node $expression)
{
}
public function dispatch(SqlWalker $walker): string
{
return $walker->walkParenthesisExpression($this);
}
}
|