Completed
Push — master ( cf4f4c...f3c478 )
by Julito
36:36
created

SessionCourseResourcesTrait   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

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