Prado\Caching\TCache::offsetSet PHP Method

offsetSet() public method

If the cache already contains such a key, the existing value will be replaced with the new ones. To add expiration and dependencies, use the set() method. This method is required by the interface \ArrayAccess.
public offsetSet ( $id, $value )
    public function offsetSet($id, $value)
    {
        $this->set($id, $value);
    }