Completed
Push — master ( 032e9a...f4f4f4 )
by Arjay
05:40
created

Checkbox   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A separator() 0 6 1
1
<?php
2
3
namespace Yajra\DataTables\Html\Editor;
4
5
class Checkbox extends Field
6
{
7
    protected $type = 'checkbox';
8
9
    /**
10
     * Set checkbox separator.
11
     *
12
     * @param string $separator
13
     * @return $this
14
     */
15
    public function separator($separator = ',')
16
    {
17
        $this->attributes['separator'] = $separator;
18
19
        return $this;
20
    }
21
}
22