Prado\Data\SqlMap\DataMapper\TSqlMapCache::delete PHP Method

delete() public method

public delete ( $key ) : object
return object the object removed if exists, null otherwise.
    public function delete($key)
    {
        $object = $this->get($key);
        $this->_cache->remove($key);
        $this->_keyList->remove($key);
        return $object;
    }