コード例 #1
0
ファイル: ObjectStorage.php プロジェクト: Mr-Robota/TYPO3.CMS
 /**
  * Adds all objects-data pairs from a different storage in the current storage.
  *
  * @param ObjectStorage $objectStorage
  * @return void
  */
 public function addAll(ObjectStorage $objectStorage)
 {
     foreach ($objectStorage as $object) {
         $this->attach($object, $objectStorage->getInfo());
     }
 }