EditAction   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 6
c 2
b 0
f 0
dl 0
loc 10
rs 10
ccs 5
cts 5
cp 1
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 6 1
1
<?php
2
3
namespace Yaro\Jarboe\Table\Actions;
4
5
class EditAction extends AbstractAction
6
{
7
    protected $ident = 'edit';
8
9 1
    public function render($model = null)
10
    {
11 1
        return view('jarboe::crud.actions.edit', [
12 1
            'crud' => $this->crud(),
13 1
            'model' => $model,
14 1
            'action' => $this,
15
        ]);
16
    }
17
}
18