. */ namespace Doctrine\ORM\Query\AST; /** * LikeExpression ::= StringExpression ["NOT"] "LIKE" string ["ESCAPE" char] * * * @link www.doctrine-project.org * @since 2.0 * @version $Revision: 3938 $ * @author Guilherme Blanco * @author Jonathan Wage * @author Roman Borschel */ class LikeExpression extends Node { public $not; public $stringExpression; public $stringPattern; public $escapeChar; public function __construct($stringExpression, $stringPattern, $escapeChar = null) { $this->stringExpression = $stringExpression; $this->stringPattern = $stringPattern; $this->escapeChar = $escapeChar; } public function dispatch($sqlWalker) { return $sqlWalker->walkLikeExpression($this); } }