1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
-
-
- namespace Doctrine\ORM\Query\AST;
-
-
- class PathExpression extends Node
- {
- const TYPE_COLLECTION_VALUED_ASSOCIATION = 2;
- const TYPE_SINGLE_VALUED_ASSOCIATION = 4;
- const TYPE_STATE_FIELD = 8;
-
- public $type;
- public $expectedType;
- public $identificationVariable;
- public $field;
-
- public function __construct($expectedType, $identificationVariable, $field = null)
- {
- $this->expectedType = $expectedType;
- $this->identificationVariable = $identificationVariable;
- $this->field = $field;
- }
-
- public function dispatch($walker)
- {
- return $walker->walkPathExpression($this);
- }
- }
|