[PR #137] added fluent pattern to Query\Expr\Base::add* methods #7757

Open
opened 2026-01-22 15:56:42 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/137

State: closed
Merged: Yes


In order to return directly the return value of add method without having to create a temporary variable:

return $qb->expr()->orX()->add($qb->expr()->like('test', 'test'));

**Original Pull Request:** https://github.com/doctrine/orm/pull/137 **State:** closed **Merged:** Yes --- In order to return directly the return value of add method without having to create a temporary variable: `return $qb->expr()->orX()->add($qb->expr()->like('test', 'test'));`
admin added the pull-request label 2026-01-22 15:56:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7757