Abstract Class Yiisoft\Cache\Exception\CacheException
| Inheritance | Yiisoft\Cache\Exception\CacheException » RuntimeException |
|---|---|
| Implements | Psr\SimpleCache\CacheException |
| Subclasses | Yiisoft\Cache\Exception\RemoveCacheException, Yiisoft\Cache\Exception\SetCacheException |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\Cache\Exception\CacheException | |
| getKey() | Yiisoft\Cache\Exception\CacheException |
Method Details
| public mixed __construct ( string $key, string $message = '', integer $code = 0, Throwable|null $previous = null ) | ||
| $key | string | |
| $message | string | |
| $code | integer | |
| $previous | Throwable|null | |
public function __construct(
private readonly string $key,
string $message = '',
int $code = 0,
Throwable|null $previous = null
) {
parent::__construct($message, $code, $previous);
}
Signup or Login in order to comment.