Completed
Push — dev ( 5c06f5...dcd39b )
by Arnaud
09:19
created

Action::render()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 6
ccs 0
cts 5
cp 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
crap 2
1
<?php
2
3
namespace LAG\AdminBundle\Field\Field;
4
5
class Action extends Link
6
{
7
    /**
8
     * @param string $value
9
     * @return string
10
     */
11
    public function render($value)
12
    {
13
        $value = $this->title;
14
15
        return parent::render($value);
16
    }
17
18
    /**
19
     * @return string
20
     */
21
    public function getType()
22
    {
23
        return 'action';
24
    }
25
}
26