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

Action::getType()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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