Passed
Push — master ( 0ea101...fcce8e )
by Yannick
07:24
created

Tracking   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 25
rs 10
c 0
b 0
f 0
wmc 5

5 Methods

Rating   Name   Duplication   Size   Complexity  
A getName() 0 3 1
A getIcon() 0 3 1
A getNameToShow() 0 3 1
A getLink() 0 3 1
A getCategory() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
/* For licensing terms, see /license.txt */
6
7
namespace Chamilo\CoreBundle\Tool;
8
9
class Tracking extends AbstractTool implements ToolInterface
10
{
11
    public function getName(): string
12
    {
13
        return 'tracking';
14
    }
15
16
    public function getNameToShow(): string
17
    {
18
        return 'Reporting';
19
    }
20
21
    public function getIcon(): string
22
    {
23
        return 'mdi-google-analytics';
24
    }
25
26
    public function getLink(): string
27
    {
28
        return '/main/tracking/courseLog.php';
29
    }
30
31
    public function getCategory(): string
32
    {
33
        return 'interaction';
34
    }
35
}
36