| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | 3 | public function __construct( |
|
| 26 | int $capacity, |
||
| 27 | float $rate, |
||
| 28 | LoggerInterface $logger, |
||
| 29 | \Redis $conn, |
||
| 30 | int $ttl = 0, |
||
| 31 | string $prefix = '', |
||
| 32 | ?SerializerInterface $serializer = null |
||
| 33 | ) { |
||
| 34 | 3 | parent::__construct($capacity, $rate, $logger, $serializer); |
|
| 35 | 3 | $this->conn = $conn; |
|
| 36 | 3 | $this->ttl = $ttl; |
|
| 37 | 3 | $this->prefix = $prefix; |
|
| 38 | 3 | } |
|
| 62 |