eZ\Publish\Core\Persistence\Doctrine\DoctrineExpression::lOr PHP Method

lOr() public method

lOr() accepts an arbitrary number of parameters. Each parameter must contain a logical expression or an array with logical expressions. Example: $q = $dbHandler->createSelectQuery(); $e = $q->expr; $q->select( '*' )->from( 'table' ) ->where( $e->lOr( $e->eq( 'id', $q->bindValue( 1 ) ), $e->eq( 'id', $q->bindValue( 2 ) ) ) );
public lOr ( ) : string
return string a logical expression
    public function lOr()
    {
        $args = func_get_args();
        return $this->combine($args, ' OR ');
    }