1
0
mirror of synced 2025-01-19 06:51:40 +03:00
doctrine2/lib/Doctrine/ORM/Query/AST/ExistsExpression.php
2009-03-16 22:12:38 +00:00

35 lines
565 B
PHP

<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
namespace Doctrine\ORM\Query\AST;
/**
* ExistsExpression ::= ["NOT"] "EXISTS" "(" Subselect ")"
*
* @author robo
*/
class ExistsExpression extends Node
{
private $_not = false;
private $_subselect;
public function __construct($subselect)
{
$this->_subselect = $subselect;
}
public function setNot($bool)
{
$this->_not = $bool;
}
public function getNot()
{
return $this->_not;
}
}