mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #137] [MERGED] added fluent pattern to Query\Expr\Base::add* methods #7753
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/137
Author: @docteurklein
Created: 9/27/2011
Status: ✅ Merged
Merged: 10/15/2011
Merged by: @beberlei
Base:
master← Head:fluent_query_expr📝 Commits (1)
b28af2eadded fluent pattern to Query\Expr\Base::add* methods📊 Changes
1 file changed (+7 additions, -3 deletions)
View changed files
📝
lib/Doctrine/ORM/Query/Expr/Base.php(+7 -3)📄 Description
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'));🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.