Passed
Push — master ( a3d690...784c7b )
by Julito
08:24
created

PersonalResourceTrait   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A loadPersonalResources() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
/* For licensing terms, see /license.txt */
6
7
namespace Chamilo\CoreBundle\Traits;
8
9
/**
10
 * Trait ShowCourseResourcesInSessionTrait.
11
 */
12
trait PersonalResourceTrait
13
{
14
    protected bool $loadPersonalResources = true;
15
16
    public function loadPersonalResources(): bool
17
    {
18
        return $this->loadPersonalResources;
19
    }
20
}
21