Abstract Class Yiisoft\Cache\Exception\CacheException
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Psr\ |
| Subclasses | Yiisoft\ |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\ |
|
| getKey() | Yiisoft\ |
Method Details
| public mixed __construct ( string $key, string $message = '', integer $code = 0, ?\ | ||
| $key | string | |
| $message | string | |
| $code | integer | |
| $previous | ?\ |
|
public function __construct(
private readonly string $key,
string $message = '',
int $code = 0,
?Throwable $previous = null,
) {
parent::__construct($message, $code, $previous);
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.