SubjectList   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 33
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 33
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A __invoke() 0 3 1
A getSubjectList() 0 3 1
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