40 lines
880 B
PHP
40 lines
880 B
PHP
<?php
|
|
/*
|
|
* To change this template, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
namespace Doctrine\ORM\Query\AST;
|
|
|
|
/**
|
|
* Description of JoinCollectionValuedPathExpression
|
|
*
|
|
* @author robo
|
|
* @todo Rename: JoinAssociationPathExpression
|
|
*/
|
|
class JoinPathExpression extends Node
|
|
{
|
|
private $_identificationVariable;
|
|
private $_assocField;
|
|
|
|
public function __construct($identificationVariable, $assocField)
|
|
{
|
|
$this->_identificationVariable = $identificationVariable;
|
|
$this->_assocField = $assocField;
|
|
}
|
|
|
|
public function getIdentificationVariable()
|
|
{
|
|
return $this->_identificationVariable;
|
|
}
|
|
|
|
public function getAssociationField()
|
|
{
|
|
return $this->_assocField;
|
|
}
|
|
|
|
public function dispatch($sqlWalker)
|
|
{
|
|
return $sqlWalker->walkJoinPathExpression($this);
|
|
}
|
|
} |