WhereClause.php 615 Bytes
Newer Older
1 2 3 4 5 6
<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

7 8
namespace Doctrine\ORM\Query\AST;

9 10 11 12 13
/**
 * Description of WhereClause
 *
 * @author robo
 */
14
class WhereClause extends Node
15 16 17 18 19 20 21 22 23 24 25 26
{
    private $_conditionalExpression;

    public function __construct($conditionalExpression)
    {
        $this->_conditionalExpression = $conditionalExpression;
    }

    public function getConditionalExpression()
    {
        return $this->_conditionalExpression;
    }
27 28 29 30 31

    public function dispatch($sqlWalker)
    {
        return $sqlWalker->walkWhereClause($this);
    }
32
}