Passed
Push — master ( 42ec6a...51f0b4 )
by Julito
07:54
created

CourseHomePage::getIcon()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 0
f 0
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 CourseHomePage extends AbstractTool implements ToolInterface
10
{
11
    public function getName(): string
12
    {
13
        return 'course_homepage';
14
    }
15
16
    public function getLink(): string
17
    {
18
        return '/resources/course_homepage';
19
    }
20
21
    public function getIcon(): string
22
    {
23
        return 'mdi-file-link';
24
    }
25
26
    public function getCategory(): string
27
    {
28
        return 'admin';
29
    }
30
31
    public function getResourceTypes(): ?array
32
    {
33
        return [
34
        ];
35
    }
36
}
37