Changeset 3677

Show
Ignore:
Timestamp:
01/30/08 00:18:13 (17 months ago)
Author:
guilhermeblanco
Message:

Merged changeset #3590 into 0.9 and 0.10 branches (since we cannot change the API, I created a wrapper to the method name). No changes in tests and I also didnt drop the ownsOne and ownsMany support

Location:
branches
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/0.10/lib/Doctrine/Collection.php

    r3441 r3677  
    710710    } 
    711711 
     712    // Method was wrong named. Fixing by creating an alias, since we cannot change API (remove methods) 
     713    public function synchronizeFromArray(array $array) { 
     714        return $this->synchronizeWithArray($array); 
     715    } 
     716 
    712717    /** 
    713718     * exportTo 
  • branches/0.9/lib/Doctrine/Collection.php

    r3514 r3677  
    709709    } 
    710710 
     711    // Method was wrong named. Fixing by creating an alias, since we cannot change API (remove methods) 
     712    public function synchronizeFromArray(array $array) { 
     713        return $this->synchronizeWithArray($array); 
     714    } 
     715 
    711716    /** 
    712717     * exportTo