Commit fde6431d authored by guilhermeblanco's avatar guilhermeblanco

[2.0] Commiting missing file

parent 995eaf3d
<?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);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment