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

TextArea   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A rows() 0 4 1
A cols() 0 4 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