SubjectList::__invoke()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace BFW\Core\AppSystems;
4
5
class SubjectList extends AbstractSystem
6
{
7
    /**
8
     * @var \BFW\Core\SubjectList $subjectList
9
     */
10
    protected $subjectList;
11
    
12
    /**
13
     * Initialize subjectList system
14
     */
15
    public function __construct()
16
    {
17
        $this->subjectList = new \BFW\Core\SubjectList;
18
    }
19
    
20
    /**
21
     * {@inheritdoc}
22
     * 
23
     * @return \BFW\Core\SubjectList
24
     */
25
    public function __invoke()
26
    {
27
        return $this->subjectList;
28
    }
29
30
    /**
31
     * Getter accessor to property subjectList
32
     * 
33
     * @return \BFW\Core\SubjectList
34
     */
35
    public function getSubjectList()
36
    {
37
        return $this->subjectList;
38
    }
39
}
40