. */ namespace Doctrine\ORM\Query\AST; /** * InstanceOfExpression ::= IdentificationVariable ["NOT"] "INSTANCE" ["OF"] (InstanceOfParameter | "(" InstanceOfParameter {"," InstanceOfParameter}* ")") * InstanceOfParameter ::= AbstractSchemaName | InputParameter * * * @link www.doctrine-project.org * @since 2.0 * @author Guilherme Blanco * @author Jonathan Wage * @author Roman Borschel */ class InstanceOfExpression extends Node { public $not; public $identificationVariable; public $value; public function __construct($identVariable) { $this->identificationVariable = $identVariable; } public function dispatch($sqlWalker) { return $sqlWalker->walkInstanceOfExpression($this); } }