. */ namespace Doctrine\ORM\Query\AST; /** * InstanceOfExpression ::= IdentificationVariable ["NOT"] "INSTANCE" ["OF"] (InstanceOfParameter | "(" InstanceOfParameter {"," InstanceOfParameter}* ")") * InstanceOfParameter ::= AbstractSchemaName | InputParameter * * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.doctrine-project.org * @since 2.0 * @version $Revision: 3938 $ * @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); } }