EnrollmentMobileSeeder   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 20
ccs 0
cts 12
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 12 1
1
<?php
2
3
namespace Scool\EnrollmentMobile\Database\Seeds;
4
5
use Illuminate\Database\Seeder;
6
use Scool\EnrollmentMobile\Models\Classroom;
7
use Scool\EnrollmentMobile\Models\Speciality;
8
use Scool\EnrollmentMobile\Models\Submodule;
9
use Scool\EnrollmentMobile\Models\Module;
10
use Scool\EnrollmentMobile\Models\Course;
11
use Scool\EnrollmentMobile\Models\Person;
12
13
//use Acacha\Periods\Period;
14
15
/**
16
 * Class EnrollmentSeeder
17
 */
18
class EnrollmentMobileSeeder extends Seeder
19
{
20
    /**
21
     * Run the database Seeds.
22
     *
23
     * @return void
24
     */
25
    public function run()
26
    {
27
        $this->call(EnrollmentPermissionSeeder::class);
28
        $this->call(EnrollmentsTableSeeder::class);
29
        $this->call(ClassroomsTableSeeder::class);
30
        $this->call(CoursesTableSeeder::class);
31
        $this->call(EnrollmentStudySubmodulesTableSeeder::class);
32
        $this->call(PeopleTableSeeder::class);
33
        $this->call(ModulesTableSeeder::class);
34
        $this->call(SubmodulesTableSeeder::class);
35
        $this->call(StudiesTableSeeder::class);
36
    }
37
}
38