32 lines
615 B
PHP
32 lines
615 B
PHP
<?php
|
|
/*
|
|
* To change this template, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
namespace Doctrine\ORM\Query\AST;
|
|
|
|
/**
|
|
* Description of WhereClause
|
|
*
|
|
* @author robo
|
|
*/
|
|
class WhereClause extends Node
|
|
{
|
|
private $_conditionalExpression;
|
|
|
|
public function __construct($conditionalExpression)
|
|
{
|
|
$this->_conditionalExpression = $conditionalExpression;
|
|
}
|
|
|
|
public function getConditionalExpression()
|
|
{
|
|
return $this->_conditionalExpression;
|
|
}
|
|
|
|
public function dispatch($sqlWalker)
|
|
{
|
|
return $sqlWalker->walkWhereClause($this);
|
|
}
|
|
} |