public function deleteItem($key)
    {
        \WildWolf\Cache\Validator::validateKey($key);
        unset($this->cache[$key]);
        return true;
    }
public function deleteItem($key)
    {
        \WildWolf\Cache\Validator::validateKey($key);
        unset($this->cache[$key]);
        return true;
    }
public function deleteItem ( $ key ) { \ WildWolf \ Cache \ Validator :: validateKey ( $ key ) ; unset ( $ this -> cache [ $ key ] ) ; return true ; }
Removes the item from the pool.

@param string $key
The key to delete.

@throws InvalidArgumentException
If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
MUST be thrown.

@return bool
True if the item was successfully removed. False if there was an error.
Removes the item from the pool .