Completed
Push — 0.3-dev ( 291149...449c2f )
by Arnaud
14:26
created

Action::render()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
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