Completed
Push — master ( 75bb5a...dea818 )
by Mathieu
07:39
created

FaqCategory::loadItems()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Charcoal\Cms;
4
5
// Module `charcoal-base` dependencies
6
use \Charcoal\Object\Content;
7
use \Charcoal\Object\CategoryInterface;
8
use \Charcoal\Object\CategoryTrait;
9
10
class FaqCategory extends Content implements CategoryInterface
0 ignored issues
show
Bug introduced by
There is one abstract method loadCategoryItems in this class; you could implement it, or declare this class as abstract.
Loading history...
11
{
12
    use CategoryTrait;
13
14
    /**
15
    * CategoryTrait > item_type()
16
    *
17
    * @return string
18
    */
19
    public function itemType()
20
    {
21
        return 'charcoal/cms/faq';
22
    }
23
24
    /**
25
    * @return Collection
26
    */
27
    public function loadItems()
28
    {
29
        return [];
30
    }
31
}
32