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

isLoadCourseResourcesInSession()   A

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
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 ShowCourseResourcesInSessionTrait
13
{
14
    protected bool $loadCourseResourcesInSession = true;
15
16
    public function isLoadCourseResourcesInSession(): bool
17
    {
18
        return $this->loadCourseResourcesInSession;
19
    }
20
}
21