. */ namespace Doctrine\ORM\Query\AST; /** * EmptyCollectionComparisonExpression ::= CollectionValuedPathExpression "IS" ["NOT"] "EMPTY" * * @link www.doctrine-project.org * @since 2.0 * @author Guilherme Blanco * @author Jonathan Wage * @author Roman Borschel */ class EmptyCollectionComparisonExpression extends Node { /** * @var PathExpression */ public $expression; /** * @var bool */ public $not; /** * @param PathExpression $expression */ public function __construct($expression) { $this->expression = $expression; } /** * {@inheritdoc} */ public function dispatch($sqlWalker) { return $sqlWalker->walkEmptyCollectionComparisonExpression($this); } }