classes/collection/CollectionStore.php
public function saved($sKey)
    {
        if (empty($sKey) || empty($this->arStore) || !isset($this->arStore[$sKey])) {
            return null;
        }

        return $this->arStore[$sKey]->copy();
    }
public function saved($sKey)
    {
        if (empty($sKey) || empty($this->arStore) || !isset($this->arStore[$sKey])) {
            return null;
        }

        return $this->arStore[$sKey]->copy();
    }
public function saved ( $ sKey ) { if ( empty ( $ sKey ) || empty ( $ this -> arStore ) || ! isset ( $ this -> arStore [ $ sKey ] ) ) { return null ; } return $ this -> arStore [ $ sKey ] -> copy ( ) ; }
Get saved element collection
@see \Lovata\Toolbox\Tests\Unit\CollectionTest::testSaveMethod()
@param string $sKey
@return ElementCollection
Get saved element collection