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

Checkbox::separator()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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