1: <?php
2:
3: namespace Charcoal\Cms;
4:
5: // From 'charcoal-object'
6: use Charcoal\Object\Content;
7: use Charcoal\Object\CategoryInterface;
8: use Charcoal\Object\CategoryTrait;
9:
10: // From 'charcoal-cms'
11: use Charcoal\Cms\Document;
12:
13: /**
14: * Document Category
15: */
16: final class DocumentCategory extends Content implements CategoryInterface
17: {
18: use CategoryTrait;
19:
20: /**
21: * CategoryTrait > itemType()
22: *
23: * @return string
24: */
25: public function itemType()
26: {
27: return Document::class;
28: }
29:
30: /**
31: * @return \Charcoal\Model\Collection|array
32: */
33: public function loadCategoryItems()
34: {
35: return [];
36: }
37: }
38: