Completed
Push — extensions-support ( bcc5d6...dc7c75 )
by Patrick
03:13
created

Sortable   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A enable() 0 5 1
1
<?php
2
3
namespace LaravelDoctrine\Fluent\Extensions\Gedmo;
4
5
use LaravelDoctrine\Fluent\Extensions\Gedmo\Sortable\SortableGroup;
6
use LaravelDoctrine\Fluent\Extensions\Gedmo\Sortable\SortablePosition;
7
8
class Sortable
9
{
10
    /**
11
     * @return void
12
     */
13 1
    public static function enable()
14
    {
15 1
        SortablePosition::enable();
16 1
        SortableGroup::enable();
17 1
    }
18
}
19