Skip to content

Commit 2c69e55

Browse files
committed
Remove examples
1 parent 6b36973 commit 2c69e55

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/Doctrine/DBAL/Query/Expression/ExpressionBuilder.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ public function __construct(Connection $connection)
4141
/**
4242
* Creates a conjunction of the given expressions.
4343
*
44-
* Example:
45-
*
46-
* [php]
47-
* // (u.type = ?) AND (u.role = ?)
48-
* $expr->andX('u.type = ?', 'u.role = ?'));
49-
*
5044
* @param string|CompositeExpression ...$expressions Requires at least one defined when converting to string.
5145
*/
5246
public function and(...$expressions) : CompositeExpression
@@ -57,12 +51,6 @@ public function and(...$expressions) : CompositeExpression
5751
/**
5852
* Creates a disjunction of the given expressions.
5953
*
60-
* Example:
61-
*
62-
* [php]
63-
* // (u.type = ?) OR (u.role = ?)
64-
* $qb->where($qb->expr()->orX('u.type = ?', 'u.role = ?'));
65-
*
6654
* @param string|CompositeExpression ...$expressions Requires at least one defined when converting to string.
6755
*/
6856
public function or(...$expressions) : CompositeExpression

0 commit comments

Comments
 (0)