src/ActiveDoctrine/Entity/EntityCollection.php
/**
     * Save all the entities in this collection.
     *
     * @return EntityCollection This collection
     */
Save all the entities in this collection.
@return EntityCollection This collection
Save all the entities in this collection . @return EntityCollection This collection
public function save()
    {
        foreach ($this->entities as $entity) {
            $entity->save();
        }
        return $this;
    }
public function save ( ) { foreach ( $ this -> entities as $ entity ) { $ entity -> save ( ) ; } return $ this ; }
Save all the entities in this collection.
Save all the entities in this collection .