Completed
Push — master ( ebd2ab...759acc )
by Denis
01:24
created

Bootstrap3   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 19
rs 10
c 0
b 0
f 0
wmc 3
lcom 1
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A setFormClasses() 0 14 3
1
<?php
2
3
namespace Ngtfkx\Laradeck\FormBuilder\Layouts;
4
5
6
class Bootstrap3 extends AbstractLayout
7
{
8
    protected $cssFramework = 'bootstrap3';
9
10
    protected function setFormClasses()
11
    {
12
        switch ($this->orientation) {
13
            case 'inline':
14
                $this->formClasses = 'form-inline';
15
                break;
16
            case 'horizontal':
17
                $this->formClasses = 'form-horizontal';
18
                break;
19
            default:
20
                break;
21
22
        }
23
    }
24
}