classes/collection/CollectionStore.php
public function save($sKey, $obCollection)
    {
        if (empty($sKey)) {
            return;
        }

        $this->arStore[$sKey] = $obCollection->copy();
    }
public function save($sKey, $obCollection)
    {
        if (empty($sKey)) {
            return;
        }

        $this->arStore[$sKey] = $obCollection->copy();
    }
public function save ( $ sKey , $ obCollection ) { if ( empty ( $ sKey ) ) { return ; } $ this -> arStore [ $ sKey ] = $ obCollection -> copy ( ) ; }
Save item collection
@see \Lovata\Toolbox\Tests\Unit\CollectionTest::testSaveMethod()
@param string            $sKey
@param ElementCollection $obCollection
Save item collection