Layton/Container.php
public function offsetSet($offset, $value)
    {
        if ($this->has($offset)) {
            throw new StoreReattachException('The entry is exists.');
        }

        $this->_store[$offset] = $value;
    }
public function offsetSet($offset, $value)
    {
        if ($this->has($offset)) {
            throw new StoreReattachException('The entry is exists.');
        }

        $this->_store[$offset] = $value;
    }
public function offsetSet ( $ offset , $ value ) { if ( $ this -> has ( $ offset ) ) { throw new StoreReattachException ( 'The entry is exists.' ) ; } $ this -> _store [ $ offset ] = $ value ; }
Assign a value to the specified entry id.

@param string|integer $offset Entry id
@param mixed $value Entry

@throws StoreReattachException When entry is exists.
Assign a value to the specified entry id .