. */ namespace Doctrine\ORM\Query\Expr; /** * Expression class for building DQL OR clauses. * * @link www.doctrine-project.org * @since 2.0 * @author Guilherme Blanco * @author Jonathan Wage * @author Roman Borschel */ class Orx extends Composite { /** * @var string */ protected $separator = ' OR '; /** * @var array */ protected $allowedClasses = array( 'Doctrine\ORM\Query\Expr\Comparison', 'Doctrine\ORM\Query\Expr\Func', 'Doctrine\ORM\Query\Expr\Andx', 'Doctrine\ORM\Query\Expr\Orx', ); /** * @return array */ public function getParts() { return $this->parts; } }