[PR #129] Fluent entity (branch 2.1) #7751

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

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

State: closed
Merged: No


This code add a "return $this" on generated set methods to get a fluent entity and allow to use

$myEntity->setFoo(true)
                ->setBar(true);

This also add a @return on comment

**Original Pull Request:** https://github.com/doctrine/orm/pull/129 **State:** closed **Merged:** No --- This code add a "return $this" on generated set methods to get a fluent entity and allow to use ``` php $myEntity->setFoo(true) ->setBar(true); ``` This also add a @return <EntityName> on comment
admin added the pull-request label 2026-01-22 15:56:40 +01:00
admin closed this issue 2026-01-22 15:56:40 +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#7751