Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MODM-58, implemented

  • Loading branch information...
commit e46ec823bb1b2b463f4931a0cadfe6c6bd39286d 1 parent e677f64
@avalanche123 avalanche123 authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 lib/Doctrine/ODM/MongoDB/PersistentCollection.php
View
9 lib/Doctrine/ODM/MongoDB/PersistentCollection.php
@@ -485,6 +485,15 @@ public function clear()
$this->changed();
$this->takeSnapshot();
}
+
+ /**
+ * {@inheritdoc}
+ */
+ public function slice($offset, $length = null)
+ {

Why pass parameters to the method when they arent used :)

@avalanche123 Collaborator

wow, will fix, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ $this->initialize();
+ return $this->coll->slice();
+ }
/**
* Called by PHP when this collection is serialized. Ensures that only the

3 comments on commit e46ec82

Please sign in to comment.
Something went wrong with that request. Please try again.