Completed
Push — master ( ef4035...1a8d3e )
by Arjay
13:24 queued 11s
created

TextArea::cols()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Yajra\DataTables\Html\Editor\Fields;
4
5
class TextArea extends Field
6
{
7
    protected $type = 'textarea';
8
9
    /**
10
     * @param int $value
11
     * @return static
12
     */
13
    public function rows($value)
14
    {
15
        return $this->attr('rows', $value);
16
    }
17
18
    /**
19
     * @param int $value
20
     * @return static
21
     */
22
    public function cols($value)
23
    {
24
        return $this->attr('cols', $value);
25
    }
26
}
27