Final Class Yiisoft\Cache\Exception\RemoveCacheException
| Inheritance | Yiisoft\Cache\Exception\RemoveCacheException » Yiisoft\Cache\Exception\CacheException » RuntimeException |
|---|---|
| Implements | Psr\SimpleCache\CacheException |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\Cache\Exception\RemoveCacheException | |
| getKey() | Yiisoft\Cache\Exception\CacheException |
Method Details
| public mixed __construct ( string $key ) | ||
| $key | string | |
public function __construct(string $key)
{
parent::__construct($key, 'Failed to delete the cache.');
}
Defined in: Yiisoft\Cache\Exception\CacheException::getKey()
| public string getKey ( ) |
public function getKey(): string
{
return $this->key;
}
Signup or Login in order to comment.