DDC-737: Update PersistentCollection to upport slice($offset, $length); #906

Open
opened 2026-01-22 12:55:00 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Aug 8, 2010).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @beberlei:

With DCOM-17 the Collection interface will be updated to contain one new method, this has to be implemented naively for now:

public function slice($offset, $length = null)
{
    $this->initialize();
    return $this->_col->slice($offset, $length);
}
Originally created by @doctrinebot on GitHub (Aug 8, 2010). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @beberlei: With [DCOM-17](http://www.doctrine-project.org/jira/browse/DCOM-17) the Collection interface will be updated to contain one new method, this has to be implemented naively for now: ``` public function slice($offset, $length = null) { $this->initialize(); return $this->_col->slice($offset, $length); } ```
admin added the Improvement label 2026-01-22 12:55:00 +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#906