![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/vendor/doctrine/orm/src/Query/AST/ |
<?php declare(strict_types=1); namespace Doctrine\ORM\Query\AST; use Doctrine\ORM\Query\AST\Functions\FunctionNode; /** * LikeExpression ::= StringExpression ["NOT"] "LIKE" string ["ESCAPE" char] * * @link www.doctrine-project.org */ class LikeExpression extends Node { /** @var bool */ public $not = false; /** @var Node|string */ public $stringExpression; /** @var InputParameter|FunctionNode|PathExpression|Literal */ public $stringPattern; /** @var Literal|null */ public $escapeChar; /** * @param Node|string $stringExpression * @param InputParameter|FunctionNode|PathExpression|Literal $stringPattern * @param Literal|null $escapeChar */ public function __construct($stringExpression, $stringPattern, $escapeChar = null, bool $not = false) { $this->stringExpression = $stringExpression; $this->stringPattern = $stringPattern; $this->escapeChar = $escapeChar; $this->not = $not; } /** * {@inheritDoc} */ public function dispatch($sqlWalker) { return $sqlWalker->walkLikeExpression($this); } }