Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-737

Update PersistentCollection to upport slice($offset, $length);

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-BETA4
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      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);
      }
      

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Implemented.

        Show
        Benjamin Eberlei added a comment - Implemented.

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: