| 1 | <?php |
||
| 27 | class Catalog extends AbstractCheck |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * Try to figure out how many categories there are in the store |
||
| 31 | * |
||
| 32 | * @return string|boolean |
||
| 33 | */ |
||
| 34 | public function categoryCount() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Try to figure out how many products there are in the store |
||
| 41 | * |
||
| 42 | * @return string|boolean |
||
| 43 | */ |
||
| 44 | public function productCount() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Count different entity types |
||
| 51 | * |
||
| 52 | * @param string $entity |
||
| 53 | * |
||
| 54 | * @return string|boolean |
||
| 55 | */ |
||
| 56 | protected function countEntity($entity) |
||
| 67 | } |
||
| 68 |