| Total Complexity | 6 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Coverage | 41.18% |
| Changes | 0 | ||
| 1 | <?php namespace Comodojo\Cache\Components; |
||
| 19 | class EnhancedCacheItemPoolStats { |
||
| 20 | |||
| 21 | protected $id; |
||
| 22 | |||
| 23 | protected $provider; |
||
| 24 | |||
| 25 | protected $status; |
||
| 26 | |||
| 27 | protected $objects = 0; |
||
| 28 | |||
| 29 | protected $options = []; |
||
| 30 | |||
| 31 | 14 | public function __construct($id, $provider, $status = 0, $objects = 0, array $options = []) { |
|
| 38 | |||
| 39 | 14 | } |
|
| 40 | |||
| 41 | public function getId() { |
||
| 42 | |||
| 43 | return $this->id; |
||
| 44 | |||
| 45 | } |
||
| 46 | |||
| 47 | public function getProvider() { |
||
| 50 | |||
| 51 | } |
||
| 52 | |||
| 53 | public function getState() { |
||
| 56 | |||
| 57 | } |
||
| 58 | |||
| 59 | public function getObjects() { |
||
| 62 | |||
| 63 | } |
||
| 64 | |||
| 65 | public function getOptions() { |
||
| 72 |