| 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 |
||
| 20 | 5 | public function __construct( |
|
| 21 | int $capacity, |
||
| 22 | float $rate, |
||
| 23 | LoggerInterface $logger, |
||
| 24 | Connection $conn, |
||
| 25 | int $ttl = 0, |
||
| 26 | string $prefix = '', |
||
| 27 | ?SerializerInterface $serializer = null |
||
| 28 | ) { |
||
| 29 | 5 | parent::__construct($capacity, $rate, $logger, $serializer); |
|
| 30 | 5 | $this->conn = $conn; |
|
| 31 | 5 | $this->ttl = $ttl; |
|
| 32 | 5 | $this->prefix = $prefix; |
|
| 33 | 5 | } |
|
| 54 |