| Total Complexity | 4 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class CacheFlushResult |
||
| 17 | { |
||
| 18 | /** @var int */ |
||
| 19 | protected $count; |
||
| 20 | /** @var string */ |
||
| 21 | protected $result; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return int |
||
| 25 | */ |
||
| 26 | public function getCount(): int |
||
| 27 | { |
||
| 28 | return $this->count; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param int $count |
||
| 33 | * |
||
| 34 | * @return CacheFlushResult |
||
| 35 | */ |
||
| 36 | public function setCount(int $count): CacheFlushResult |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | public function getResult(): string |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param string $result |
||
| 53 | * |
||
| 54 | * @return CacheFlushResult |
||
| 55 | */ |
||
| 56 | public function setResult(string $result): CacheFlushResult |
||
| 61 | } |
||
| 62 | } |
||
| 63 |