1: <?php
2:
3: namespace Charcoal\Object;
4:
5: /**
6: *
7: */
8: interface CategoryInterface
9: {
10: /**
11: * @param string $type The category item type.
12: * @return CategoryInterface Chainable
13: */
14: public function setCategoryItemType($type);
15:
16: /**
17: * @return string
18: */
19: public function categoryItemType();
20:
21: /**
22: * Get the number of items in this category.
23: * @return array
24: */
25: public function numCategoryItems();
26:
27: /**
28: * @return boolean
29: */
30: public function hasCategoryItems();
31:
32: /**
33: * @return array
34: */
35: public function categoryItems();
36: }
37: