| Total Complexity | 6 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class DashboardService |
||
| 16 | { |
||
| 17 | use GetCache; |
||
| 18 | |||
| 19 | public function countProperties(): int |
||
| 22 | } |
||
| 23 | |||
| 24 | public function countCities(): int |
||
| 25 | { |
||
| 26 | return $this->getCount('cities_count', City::class); |
||
| 27 | } |
||
| 28 | |||
| 29 | public function countDealTypes(): int |
||
| 30 | { |
||
| 31 | return $this->getCount('deal_types_count', DealType::class); |
||
| 32 | } |
||
| 33 | |||
| 34 | public function countCategories(): int |
||
| 37 | } |
||
| 38 | |||
| 39 | public function countPages(): int |
||
| 40 | { |
||
| 41 | return $this->getCount('pages_count', Page::class); |
||
| 42 | } |
||
| 43 | |||
| 44 | public function countUsers(): int |
||
| 47 | } |
||
| 48 | } |
||
| 49 |