diff --git a/src/Repository.php b/src/Repository.php index 02e37f4..7a20017 100644 --- a/src/Repository.php +++ b/src/Repository.php @@ -20,4 +20,15 @@ public function __construct(MapperInterface $mapper) { $this->mapper = $mapper; } + + + /** + * Saves a collection of objects. + * + * @param Collection $collection + */ + public function saveAll(Collection $collection) + { + $this->saveAll($collection); + } }