Completed
Push — master ( 30f23d...c3cbe9 )
by Derek Stephen
05:45
created

CanRenderInlineTrait::isRenderInline()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: DM0C60544
5
 * Date: 15/12/2016
6
 * Time: 12:32 PM
7
 */
8
9
namespace Del\Form\Traits;
10
11
12
trait CanRenderInlineTrait
13
{
14
    /** @var bool $renderInline */
15
    private $renderInline;
16
17
    /**
18
     * @return boolean
19
     */
20 12
    public function isRenderInline()
21
    {
22 12
        return $this->renderInline;
23
    }
24
25
    /**
26
     * @param boolean $renderInline
27
     * @return $this
28
     */
29 15
    public function setRenderInline($renderInline)
30
    {
31 15
        $this->renderInline = $renderInline;
32 15
        return $this;
33
    }
34
}