2009-03-19 15:43:48 +03:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* To change this template, choose Tools | Templates
|
|
|
|
* and open the template in the editor.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Doctrine\ORM\Query\AST;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Description of HavingClause
|
|
|
|
*
|
|
|
|
* @author robo
|
|
|
|
*/
|
|
|
|
class HavingClause extends Node
|
|
|
|
{
|
|
|
|
private $_conditionalExpression;
|
|
|
|
|
|
|
|
public function __construct($conditionalExpression)
|
|
|
|
{
|
|
|
|
$this->_conditionalExpression = $conditionalExpression;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getConditionalExpression()
|
|
|
|
{
|
|
|
|
return $this->_conditionalExpression;
|
|
|
|
}
|
2009-03-23 20:39:33 +03:00
|
|
|
|
|
|
|
public function dispatch($sqlWalker)
|
|
|
|
{
|
|
|
|
return $sqlWalker->walkHavingClause($this);
|
|
|
|
}
|
2009-03-19 15:43:48 +03:00
|
|
|
}
|