Lines
100.00%
2 / 2
Methods
100.00%
1 / 1
Classes
100.00%
1 / 1
| Name | Lines | Methods | CRAP | ||||
|---|---|---|---|---|---|---|---|
| __construct | 100.00% | 2 / 2 | 100.00% | 1 / 1 | 1 | ||
| 15 | class CacheDriverException extends RuntimeException | |
| 16 | { | |
| 17 | /** | |
| 18 | * The driver name that could not be resolved. | |
| 19 | */ | |
| 20 | public private(set) string $driver; | |
| 21 | ||
| 22 | /** | |
| 23 | * @param string $driver The driver name that could not be resolved | |
| 24 | */ | |
| 25 | public function __construct(string $driver) | |
| 26 | { | |
| 27 | $this->driver = $driver; | |
| 28 | parent::__construct(sprintf('Unable to resolve cache driver "%s".', $driver)); | |
| 29 | } | |
| 30 | } |