Completed
Push — 3.x ( 51387a...c21d0f )
by Grégoire
06:59
created

FooBoolean::hasBar()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Sonata\AdminBundle\Tests\Fixtures\Entity;
4
5
class FooBoolean
6
{
7
    private $bar;
8
9
    private $baz;
10
11
    public function hasBar()
12
    {
13
        return $this->bar;
14
    }
15
16
    public function setBar($bar)
17
    {
18
        $this->bar = $bar;
19
    }
20
21
    public function isBaz()
22
    {
23
        return $this->baz;
24
    }
25
26
    public function setBaz($baz)
27
    {
28
        $this->baz = $baz;
29
    }
30
}
31