1
0
mirror of synced 2025-03-20 23:13:57 +03:00

[2.0] Commiting missing file

This commit is contained in:
guilhermeblanco 2009-08-05 14:54:53 +00:00
parent 995eaf3dcd
commit fde6431d1d

View File

@ -0,0 +1,40 @@
<?php
namespace Doctrine\ORM\Query\AST;
/**
* EmptyCollectionComparisonExpression ::= CollectionValuedPathExpression "IS" ["NOT"] "EMPTY"
*
* @author Guilherme Blanco <guilhermeblanco@hotmail.com>
*/
class EmptyCollectionComparisonExpression extends Node
{
private $_expression;
private $_not;
public function __construct($expression)
{
$this->_expression = $expression;
}
public function getExpression()
{
return $this->_expression;
}
public function setNot($bool)
{
$this->_not = $bool;
}
public function isNot()
{
return $this->_not;
}
public function dispatch($sqlWalker)
{
return $sqlWalker->walkEmptyCollectionComparisonExpression($this);
}
}